Page 1 of 1

Bug in lookup

Posted: Mon Jul 28, 2008 6:30 pm
by Jeff
When an assoc list has no value for an element:

Code: Select all

(set 'lst '((a 1) (b 2) (c)))
...lookup returns the value of the key, rather than nil. While this is not a strictly formed association list, it should still return nil, especially since the xml functions write lists that way.