[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: MOON at MIT-MC, RWK at MIT-MC, HENRY at MIT-MC
- Subject: LIST*
- From: KMP at MIT-MC (Kent M. Pitman)
- Date: Thu, 29 Nov 79 22:59:00 GMT
- Cc: (BUG LISP) at MIT-MC, (BUG LISPM) at MIT-MC
- Original-date: 29 NOV 1979 1759-EST
MacLISP doesn't support (LIST*) [the zero-arg case]. While it is ``obvious''
that the 1-arg case has meaning, it is not so obvious the 0-arg case does.
(LIST* () () ()) => (() ())
(LIST* () () ) => (() )
(LIST* () ) => ( )
(LIST* ) => ??? ; I see nothing really logical to go here.
() may be a nice thing for LIST* of 0 args to return, just so it isn't
an error, but it hardly 'follows' from the others. It is indistinguishable
then from what (LIST* ()) does. I'm not altogether convinced that the zero-arg
case should be supported. Is the existance of (LIST* ,@X) with worries that
X might be NIL sufficient reason? Maybe so. I think I still need to be