newLISP Fan Club

Forum => newLISP newS => Topic started by: Jeff on July 28, 2008, 11:30:22 AM

Title: Bug in lookup
Post by: Jeff on July 28, 2008, 11:30:22 AM
When an assoc list has no value for an element:


(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.