From ... From: Erik Naggum Subject: Re: empty list? Date: 1999/02/08 Message-ID: <3127448882232689@naggum.no>#1/1 X-Deja-AN: 442187438 References: <79knsg$b0o$1@nnrp1.dejanews.com> <3127422219075719@naggum.no> <36BE4061.D806FA8A@interaccess.com> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * Erik Naggum | the function ENDP returns true if the argument is the end of a proper | list (nil), false at any non-empty list (a cons), and signals an error in | every other situation. * Paul Dietz | Rather, it *should* signal an error; it's not guaranteed to signal an | error in non-safe code. this one is a bit tricky. I have convinced myself that the "should" in ENDP is not quite the same "should" as elsewhere given the notes that license it to delay signaling an error until a dotted list has been processed all the way to the non-nil final element. can I convince anybody else of this interpretation? Kent, an authoritative word on the intent? in any case, if it does not signal an error, it should definitely return true for any non-cons object. #:Erik -- Y2K conversion simplified: Januark, Februark, March, April, Mak, June, Julk, August, September, October, November, December.