[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comparing lists
From: |
Petteri Hintsanen |
Subject: |
Re: Comparing lists |
Date: |
Wed, 13 Sep 2023 18:41:46 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Philip Kaludercic <philipk@posteo.net> writes:
> Have you considered using cl-set-difference or seq-set-equal-p?
No. I tried to search for set functions like those, but somehow I
missed them 🤦
seq-set-equal-p would fit the bill but does not seem to be recursive.
For example:
(seq-set-equal-p '(a b (c d)) '(a b (d c))) ⇒ nil
Nonetheless it is probably very useful in other contexts. Same for cl
set functions.
Thanks,
Petteri
(btw. C-x 8 e e is the best Emacs feature ever)