[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (defmacro foo (&whole w) ...); macros ==> documentation strings
- To: Common-Lisp @ SU-AI
- Subject: Re: (defmacro foo (&whole w) ...); macros ==> documentation strings
- From: Glenn S. Burke <GSB @ MIT-MC>
- Date: Mon, 03 Sep 1984 04:31:00 -0000
Yes, i am advocating &whole being orthogonal and not affecting the number-
of-argument checking.
As for macros expanding into documentation strings, i don't think that
this is a good idea, because while DECLARE is not permitted to appear
in arbitrary places, strings are. As a result, a misplaced macro
expanding into a DECLARE form is an error, whereas a misplaced macro
expanding into a documentation string is not, and might be interpreted
incorrectly even if it isn't misplaced. If this calls for a
DOCUMENTATION declaration, fine, add one.