Re: Defmacro Signature



Michael Bohn <spaceodyssey@xxxxxx> writes:

I found this macro-lambda-list in a lisp source file written by Edi Weitz.

(defmacro insert-char-class-tester ((char-class chr-expr) &body body)
^^^^^^^^^^^^^^^^^^^^^
I can't see how this definition conforms to the hyperspec:

http://www.lispworks.com/documentation/HyperSpec/Body/03_dd.htm
reqvars::= var*

Is this form often used in macro-definitions??

Macro lambda lists are destructuring; see 3.4.4.1. It is used very
frequently.

Zach
.



Relevant Pages

  • Re: Defmacro Signature
    ... I can't see how this definition conforms to the hyperspec: ... Is this form often used in macro-definitions?? ... This is covered by the second-to-last paragraph, the one before it, ...
    (comp.lang.lisp)
  • Defmacro Signature
    ... I found this macro-lambda-list in a lisp source file written by Edi Weitz. ... I can't see how this definition conforms to the hyperspec: ... Is this form often used in macro-definitions?? ...
    (comp.lang.lisp)