[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Minor CLISP bug #1
- To: CLISP List <clisp-list@ma2s2.mathematik.uni-karlsruhe.de>
- Subject: Minor CLISP bug #1
- From: "M. Thomas" <thommark@access.digex.net>
- Date: Tue, 7 Jan 1997 09:34:16 -0500 (EST)
- Reply-to: "M. Thomas" <thommark@access.digex.net>
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