[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

&WHOLEFORM



Could we adopt  "&WHOLEFORM"  instead of "&WHOLE-FORM"?
From:     RMS@MIT-AI
Date: Wed, 23 Aug 79 03:36:38 GMT
Original-Date: 08/22/79 23:36:38 EDT
Subject:
    To: (BUG LISP) at MIT-AI, (BUG LISPM) at MIT-AI
    (DEFMACRO FOO (&WHOLE-FORM X) ...)
I'm in favor of this approach too, *** even though this is another
special case *** added to the differences between DEFMACRO and DEFUN.
To clean this up, would'nt it be better to adopt the destructuring
notions of the maclisp DEFUN/DEFMACRO?  That way, the forms
   (DEFMACRO X ...)
   (DEFUN FOO X ...)
would be undefined cases, but the former could continue to be a
kludge for the benefit of those who won't (or can't) change their old
code.  This way, DEFUN and DEFMACRO would have identical argument syntaxes,
*** including the way destructuring is performed *** except in the
&WHOLE-FORM case.