[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ENDP
- To: Steele at CMU-20C
- Subject: ENDP
- From: Kent M. Pitman <KMP at MIT-MC>
- Date: Sat, 11 Sep 1982 22:28:00 -0000
- Cc: COMMON-LISP at SU-AI
Couldn't you just have written this?
(defun endp (thing &optional list)
(cond ((consp thing) nil)
((null thing) t)
(t (cerror ':improperly-terminated-list
"The non-null atom ~S terminated a list~@[, ~S]."
thing list))))
In any case, I definitely do not like to see functions haired up with
all kinds of funny args that ideosyncratic things. There are zillions
of functions which have a potential for erring and if they all take args
of fun things to make the error message more readable, the language
definition will be considerably more cluttered. I would want to understand
some theory of when it was appropriate to add such args to things and when
it wasn't before I thought it was a good idea to put this one in.
- Prev by Date:
Vote
- Next by Date:
???
- Previous by thread:
endp
- Next by thread:
ENDP
- Index(es):