emacs-devel
[Top][All Lists]
Advanced

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

member inconsistency?


From: Nicolas Goaziou
Subject: member inconsistency?
Date: Thu, 28 Jan 2016 09:42:49 +0100

Hello,

The following behaviour is surprising

  (assq 'a 'b)   => #ERROR
  (memq 'a 'b)   => #ERROR
  (assoc 'a 'b)  => #ERROR

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?


Regards,

-- 
Nicolas Goaziou                                                0x80A93738



reply via email to

[Prev in Thread] Current Thread [Next in Thread]