help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lists composed of equal number and kind of elements


From: Andreas Röhler
Subject: Re: Lists composed of equal number and kind of elements
Date: Mon, 27 Jul 2015 17:35:38 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Am 27.07.2015 um 15:17 schrieb Drew Adams:
is there a handy way to check if two lists --results of (window-list)
precisely-- are equal WRT to the kind and number elements?
The order of elements should be ignored.
Try `cl-set-exclusive-or', from cl-seq.el.

,----
| cl-set-exclusive-or is an autoloaded Lisp function in `cl-seq.el'.
|
| (cl-set-exclusive-or LIST1 LIST2 [KEYWORD VALUE]...)
|
| Combine LIST1 and LIST2 using a set-exclusive-or operation.
| The resulting list contains all items appearing in exactly one of LIST1, 
LIST2.
| This is a non-destructive function; it makes a copy of the data if necessary
| to avoid corrupting the original LIST1 and LIST2.
|
| Keywords supported:  :test :test-not :key
`----

Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]