[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Atoms in association lists
- To: coffee@aerospace.aero.org, krall%pp.mcc.com%pp.mcc.com@mcc.com
- Subject: Re: Atoms in association lists
- From: dml@NADC.ARPA (D. Loewenstern)
- Date: Wed, 8 Jul 87 15:00:19 EDT
- Cc: common-lisp@sail.stanford.edu
Actually, GCLisp handles atoms in alists by ignoring them, whether they are
strings, NIL, or other symbols. E.g.,
(SETQ abc '(c (c . 3) NIL (NIL . 4)))
(ASSOC 'c abc) --> (c . 3)
(ASSOC nil abc) --> (NIL . 4)
This is in accordance with CLtL, I believe.
David Loewenstern
Naval Air Development Center
code 7013
Warminster, PA 18974-5000
<dml@nadc.arpa>