[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 88f96e6: Add seq-set-equal-p to test for set eq
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master 88f96e6: Add seq-set-equal-p to test for set equality |
Date: |
Mon, 08 May 2017 12:48:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
>>> * 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