From: Glenn Morris <rgm@gnu.org>
To: Dave Abrahams <dave@boostpro.com>
Cc: 8012@debbugs.gnu.org
Subject: bug#8012: 23.2; set-difference broken
Date: Wed, 09 Feb 2011 23:58:15 -0500 [thread overview]
Message-ID: <nnipws32qg.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <m2tygco7mf.wl%dave@boostpro.com> (Dave Abrahams's message of "Wed, 09 Feb 2011 23:07:04 -0500")
Dave Abrahams wrote:
> (set-difference '(a b (c)) '(a b (c)))
>
> Result:
>
> '((c))
>
> Expected result:
>
> nil
Maybe you want to use
(set-difference '(a b (c)) '(a b (c)) :test 'equal) ?
since
(eq '(c) '(c)) ; -> nil
(equal '(c) '(c)) ; -> t
next prev parent reply other threads:[~2011-02-10 4:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-10 4:07 bug#8012: 23.2; set-difference broken Dave Abrahams
2011-02-10 4:58 ` Glenn Morris [this message]
2011-02-10 11:30 ` Dave Abrahams
2011-07-14 17:49 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nnipws32qg.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=8012@debbugs.gnu.org \
--cc=dave@boostpro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.