[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Henry at MIT-AI
- From: Robert W. Kerns <RWK at MIT-MC>
- Date: Thu ,29 Nov 79 02:56:00 EDT
cc: BUG-LISP at MIT-AI, BUG-LISPM at MIT-AI
Date: 29 November 1979 00:41-EST
From: Henry Lieberman <Henry at MIT-AI>
To: BUG-LISP at MIT-AI, BUG-LISPM at MIT-AI
Since the trivial case for LIST is
(LIST 'ONE-THING) is (ONE-THING)
I think the trivial case for LIST* should be
(LIST* '(ONE-THING)) is (ONE-THING)
rather than complaining when given less than two args.
(LIST*) is NIL
These cases would make (APPLY 'LIST* ...) work out more nicely.
(LIST* () () () ) => ( () () )
(LIST* () () ) => ( () )
(LIST* () ) => ()
i.e. from right to left, each of the arguments before the last is NCONSd onto
the rightmost argument.
This is what MacLisp does. I'm supprised the LISP Machine doesn't also
do this; it makes life easier for BackQuote....