Marco Gidde
2004-04-14 10:57:37 UTC
The test for &REST comes too late or maybe the error check too early:
COMMON-LISP-USER> (destructuring-bind (&rest rest) nil
(format t "~%rest = ~s" rest))
Debugger invoked on condition of type SIMPLE-ERROR
Available restarts:
COMMON-LISP-USER> (destructuring-bind (&rest rest) nil
(format t "~%rest = ~s" rest))
Debugger invoked on condition of type SIMPLE-ERROR
Available restarts:
--
Marco Gidde
Marco Gidde