Subject: Re: empty list?
From: Erik Naggum <erik@naggum.no>
Date: 1999/02/08
Newsgroups: comp.lang.lisp
Message-ID: <3127448882232689@naggum.no>

* 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 <dietz@interaccess.com>
| 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.