Edi Weitz <[EMAIL PROTECTED]> writes:

>   CL-USER 1 > (destructuring-bind (x . y) nil (list x y))
> 
>   Error: NIL does not match (X . Y).
> 
> Most CL implementation barf here while CMUCL (18e) returns (NIL
> NIL). Is this a bug?

Yes, it is.

> After all, we have
> 
>   CL-USER 4 > (car nil)
>   NIL
> 
>   CL-USER 5 > (cdr nil)
>   NIL

(X . Y) is equivalent to (X &REST Y), which I think makes it obvious
why this is a bug.  I'll put a fix in CVS later.  Thanks for the
report.


Reply via email to