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

&WHOLE with other args...



    Date: 28 October 1980 09:32-EDT
    From: Jon L White <JONL at MIT-MC>
    To:   BUG-LISP
    Re:   &WHOLE

    Apparently the &REST interferes with the &WHOLE in
        (DEFMACRO FOO (&WHOLE FORM &REST W) ...)
    but other cases work.
-----
I should hope you don't make this work! Asking for it to work is like asking
	(DEFUN FOO (&REST BAR &OPTIONAL BAZ) (LIST BAR BAZ))
	(FOO 3 4)
to return
	((3 4) 3)
... yuk! You should have to do 
	(DEFUN FOO (&WHOLE FORM) (LET ((W (CDR FORM))) ...))
in order to win. -kmp