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

Minor CLISP bug #1



Hello all,

I thought that the lambda-list keywords &rest and &body were supposed to
behave identically during Lisp evaluation, and that only pretty-printers
were allowed to treat &rest and &body differently (by regarding them as
formatting clues).  However: 

> (lisp-implementation-version)
"1996-07-22 (July 1996)"
> (defun resttest (x &rest y) (list x y))
RESTTEST
> (defun bodytest (x &body y) (list x y))
BODYTEST
> (resttest 'a 'b 'c)
(A (B C))
> (bodytest 'a 'b 'c)
(A C)
;; expected (A (B C)) as before

Thanks for listening!


Mark A. Thomas
thommark@access.digex.net