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

[no subject]



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.
    Perhaps also 
      (LIST*) is NIL
    These cases would make (APPLY 'LIST* ...) work out more nicely.
Consider:
(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....