[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 06:56:00 GMT
- Cc: BUG-LISP at MIT-AI, BUG-LISPM at MIT-AI
- Original-date: 29 November 1979 01:56-EST
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....