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

&REST in DEFMACRO



The book says that a lambda-list may appear in place of a parameter
name in DEFMACRO.  Was this meant to apply to a &REST parameter
as well?  This seems like a bad idea.  For example:

  (defmacro foo (&optional a b &rest (c d)) ...)

Does this mean that a, b, c, and d are all required?
Or is &rest (c d) ==> &optional c d?
Please tell me that it is illegal!
-------