[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Atoms in association lists
- To: krall%pp@mcc.com
- Subject: Atoms in association lists
- From: sidney%acorn@oak.lcs.mit.edu
- Date: Thu, 9 Jul 87 06:05 EDT
- Cc: common-lisp@sail.stanford.edu
- In-reply-to: <8707061637.AA02959@pp.mcc.com>
The behavior of assoc in current versions of Gold Hill's GCLISP is
to not signal an error when it encounters an atom in an alist. It is not
a matter of evaluating the car of an atom as nil, thus
(assoc nil '((a 1) b (nil 5)) => (nil 5)
This behavior is a deficiency in the error checking, even if technically
not a bug. It is not an intentional interpretation of the standard.
GCLISP v3.0, our first version which fully conforms to CLtL, corrects
this.
-- sidney markowitz <sidney%acorn@oak.lcs.mit.edu>
Gold Hill Computers