unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] master 88f96e6: Add seq-set-equal-p to test for set equality
       [not found] ` <20170504093326.EB31520DD6@vcs0.savannah.gnu.org>
@ 2017-05-04 15:52   ` Stefan Monnier
  2017-05-08  9:18     ` Nicolas Petton
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2017-05-04 15:52 UTC (permalink / raw)
  To: emacs-devel; +Cc: Damien Cassou

>     * lisp/emacs-lisp/seq.el (seq-set-equal-p): Add function to compare
>       two lists as if they were sets.

How 'bout an actual set.el library?


        Stefan



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

* Re: [Emacs-diffs] master 88f96e6: Add seq-set-equal-p to test for set equality
  2017-05-04 15:52   ` [Emacs-diffs] master 88f96e6: Add seq-set-equal-p to test for set equality Stefan Monnier
@ 2017-05-08  9:18     ` Nicolas Petton
  2017-05-08 16:48       ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Petton @ 2017-05-08  9:18 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel; +Cc: Damien Cassou

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

Stefan Monnier <monnier@iro.umontreal.ca> writes:

Hi Stefan,

>>     * lisp/emacs-lisp/seq.el (seq-set-equal-p): Add function to compare
>>       two lists as if they were sets.
>
> How 'bout an actual set.el library?

Do you mean a set library with a new data structure that'd be
`seq'-able, similar to stream.el?

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

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

* Re: [Emacs-diffs] master 88f96e6: Add seq-set-equal-p to test for set equality
  2017-05-08  9:18     ` Nicolas Petton
@ 2017-05-08 16:48       ` Stefan Monnier
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2017-05-08 16:48 UTC (permalink / raw)
  To: Nicolas Petton; +Cc: Damien Cassou, emacs-devel

>>> * lisp/emacs-lisp/seq.el (seq-set-equal-p): Add function to compare
>>> two lists as if they were sets.
>> How 'bout an actual set.el library?
> Do you mean a set library with a new data structure that'd be
> `seq'-able, similar to stream.el?

No, rather a set.el library much like the seq.el and the
map.el libraries, which would offer set-union, set-intersection,
set-equal, on top of various concrete representations (lists,
hash-tables, bool-vectors, you name it).


        Stefan



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

end of thread, other threads:[~2017-05-08 16:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170504093325.11580.93080@vcs0.savannah.gnu.org>
     [not found] ` <20170504093326.EB31520DD6@vcs0.savannah.gnu.org>
2017-05-04 15:52   ` [Emacs-diffs] master 88f96e6: Add seq-set-equal-p to test for set equality Stefan Monnier
2017-05-08  9:18     ` Nicolas Petton
2017-05-08 16:48       ` Stefan Monnier

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