unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* member inconsistency?
@ 2016-01-28  8:42 Nicolas Goaziou
  2016-01-28  9:41 ` Philipp Stephani
  0 siblings, 1 reply; 20+ messages in thread
From: Nicolas Goaziou @ 2016-01-28  8:42 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-02-01 12:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-28  8:42 member inconsistency? Nicolas Goaziou
2016-01-28  9:41 ` Philipp Stephani
2016-01-28 10:14   ` Andreas Schwab
2016-01-28 10:25     ` Stephen Berman
2016-01-28 15:48       ` Eli Zaretskii
2016-01-28 17:30         ` Stephen Berman
2016-01-28 18:35           ` Eli Zaretskii
2016-01-28 21:57             ` Stephen Berman
2016-01-28 22:18           ` Andreas Schwab
2016-01-28 22:41             ` Stephen Berman
2016-01-28 23:38       ` Johan Bockgård
2016-01-28 23:57         ` Stephen Berman
2016-01-29 10:25           ` Andreas Schwab
2016-01-29 11:20             ` Stephen Berman
2016-01-29 14:15             ` Eli Zaretskii
2016-01-29 19:17               ` John Wiegley
2016-01-29 23:58         ` Richard Stallman
2016-02-01  7:10           ` Fabrice Popineau
2016-02-01 11:04             ` Richard Stallman
2016-02-01 12:20               ` Fabrice Popineau

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).