[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Proposal #9: Variable Name Conflicts
- To: common-lisp@SU-AI.ARPA
- Subject: Proposal #9: Variable Name Conflicts
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Date: Mon, 28 Jul 86 22:10 EDT
- In-reply-to: <FAHLMAN.12224580594.BABYL@C.CS.CMU.EDU>, <860722174822.6.DCP@FIREBIRD.SCRC.Symbolics.COM>, <[G.BBN.COM]23-Jul-86 02:30:50.NGALL>, The message of 23 Jul 86 15:30 EDT from "BACH::VANROGGEN" <vanroggen%bach.decnet@hudson.dec.com>, <12225052592.76.FREEMAN@SUMEX-AIM.ARPA>, <[G.BBN.COM]23-Jul-86 21:39:54.NGALL>, <[G.BBN.COM]23-Jul-86 23:55:15.NGALL>, <12225270515.16.ANDY@Sushi.Stanford.EDU>, <FAHLMAN.12225389688.BABYL@C.CS.CMU.EDU>, The message of 25 Jul 86 00:30 EDT from Dave.Touretzky@A.CS.CMU.EDU, <[G.BBN.COM]25-Jul-86 01:45:01.NGALL>, The message of 25 Jul 86 09:15 EDT from "BACH::VANROGGEN" <vanroggen%bach.decnet@hudson.dec.com>, <860725174559.4.GLS@IGNATIUS.THINK.COM>, <12225647140.10.ANDY@Sushi.Stanford.EDU>, <FAHLMAN.12225773488.BABYL@C.CS.CMU.EDU>, <[G.BBN.COM]26-Jul-86 12:50:48.NGALL>, <12225811022.11.ANDY@Sushi.Stanford.EDU>, <FAHLMAN.12225827449.BABYL@C.CS.CMU.EDU>, <860726-182347-1898@Xerox>, <FAHLMAN.12225891798.BABYL@C.CS.CMU.EDU>, <[AI.AI.MIT.EDU].76153.860726.ALAN>, <FAHLMAN.12226156362.BABYL@C.CS.CMU.EDU>
Date: Sun, 27 Jul 1986 22:02 EDT
From: "Scott E. Fahlman" <Fahlman@C.CS.CMU.EDU>
Proposal #9A:
It is an error for two parameters (including supplied-p and &aux
parameters) in the same lambda list to be represented by the same (EQ)
symbol. This also holds for parameters bound by LET, LET*, DO, DO*,
FLET, LABELS, PROGV, MACROLET, MV-BIND, and PROG.
There is no such thing as MV-BIND; I expect you meant MULTIPLE-VALUE-BIND.
You forgot PROG*. You omitted COMPILER-LET and PROGV, but I can't guess
whether this was accidental or intentional.
---------------------------------------------------------------------------
Proposal #9B:
Same, but don't include LET*.
---------------------------------------------------------------------------
Although I favor 9A, I have to point out that Fahlman has used his power
as moderator to make proposal 9B look bad. Surely the real 9B would
treat all of the sequential binding forms in a consistent way.
This appears to be one of those situations where the answer is obviously
correct, but the obviously correct answer is different for different
individuals. The only comment I can add is that no matter which
proposal is adopted, it is very easy for the proponents of the other
proposal to define a LET+ macro which is LET* done the way they wanted,
and similarly for the other sequential binding forms.