[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue: DEFMACRO-LAMBDA-LIST (Version 1)
- To: Kent M Pitman <KMP@STONY-BROOK.SCRC.Symbolics.COM>
- Subject: Issue: DEFMACRO-LAMBDA-LIST (Version 1)
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Date: Fri, 3 Feb 89 18:40 EST
- Cc: CL-Cleanup@SAIL.STANFORD.EDU
- In-reply-to: <890130095112.2.KMP@BOBOLINK.SCRC.Symbolics.COM>
I agree with most of DEFMACRO-LAMBDA-LIST:TIGHTEN-DESCRIPTION,
except I think that part 1b is a mistake. &WHOLE should be
allowed at all levels. The interesting case is
(DEFMACRO DM1B (A (&WHOLE B C &OPTIONAL D) E) ...)
which allows simultaneous access to the THIRD of the whole
form and to the destructuring of that list into C and D.
I don't know what this would be used for exactly, but there
is no cogent reason to forbid it. Contrary to what you say
in the rationale, it does not work to substitute &REST for
&WHOLE here.
Also the example on p.150 uses &WHOLE in a non-top-level
position, so you would be making a definitely incompatible
change if you forbade that.