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

&rest, &key in macro parameter list

Consider the following trivial macro
(defmacro foo (a b &key c &rest d)`( ,a ,b ,c ,d))

(foo a1 b1 :c c1 d1)
When you try top expand the example, you get an error that
the instance doesn't match the pattern.

Am I blind to somthing too obvious too see, or is there
something subtle here>