Function: set:difference
set:difference is a byte-compiled function defined in set.el.
Signature
(set:difference &rest SETS)
Documentation
Return difference of any number of SETS.
Difference is the set of elements in the first set that are not in any of the other sets. Uses set:equal-op for comparison.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/set.el
(defun set:difference (&rest sets)
"Return difference of any number of SETS.
Difference is the set of elements in the first set that are not in any of the
other sets. Uses `set:equal-op' for comparison."
(let ((rtn-set (set:members (car sets))))
(mapc (lambda (set)
(mapc (lambda (elem) (setq rtn-set (set:remove elem rtn-set)))
set))
(cdr sets))
rtn-set))