[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Atoms in association lists

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

-- sidney markowitz <sidney%acorn@oak.lcs.mit.edu>
   Gold Hill Computers