Nicolas Goaziou <
address@hidden> schrieb am Do., 28. Jan. 2016 um 09:41 Uhr:
Hello,
The following behaviour is surprising
(assq 'a 'b) => #ERROR
(memq 'a 'b) => #ERROR
(assoc 'a 'b) => #ERROR
For completeness, memql and assq have the same behavior.
so far so good, but
(member 'a 'b) => nil
I was caught by this when replacing (member SYMBOL ...) with (memq
SYMBOL ...). Is it intentional? Should I file a bug report instead?
Yes, I think this is a bug. There is no reason why `member' should be so inconsistent, especially given that is has (almost) the same docstring as memq and memql.