Paul F. Dietz | 1 Jun 2003 20:37
Favicon

Re: (defmacro nada (()))

David Lichteblau wrote:
> Shouldn't that work?
> 
> * (defmacro nada (()))
> ; in: LAMBDA NIL
> ;     (LET* ((NIL (CAR #)))
> ;     )
> ;
> ; caught ERROR:
> ;   The name of the lambda variable NIL is already in use to name a
> constant.
> ; compilation unit finished
> ;   caught 1 ERROR condition
> 
> The attached patch seems to fix it, but emits some funny warning about
> unreachable code.

Yes, () should be a valid destructuring lambda list.

This works in Lispworks 4.2 and ACL 6.2, btw.

	Paul

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

Gmane