File: set.el.html
All set operations herein work with sets of arbitrary Lisp objects,
including strings. By default, they use equal for comparisons
but this may be overidden by changing the function bound to
the set:equal-op variable. The empty set is equivalent to nil.
(set:create) creates an empty set and (set:add 'element nil) creates a new set with the single member, 'element.
Defined variables (1)
set:equal-op | Comparison function used by set operators. |
Defined functions (20)
set:add | (ELT SET) |
set:combinations | (SET &optional ARITY) |
set:create | (&rest ELEMENTS) |
set:delete | (ELT SET) |
set:difference | (&rest SETS) |
set:empty | (SET) |
set:equal | (SET1 SET2) |
set:get | (KEY SET) |
set:intersection | (&rest SETS) |
set:is | (OBJ) |
set:map | (FUNCTION SEQUENCE) |
set:member | (ELT SET) |
set:members | (LIST) |
set:remove | (ELT SET) |
set:remove-key-value | (KEY SET) |
set:replace | (OLD-ELT NEW-ELT SET) |
set:replace-key-value | (KEY VALUE SET) |
set:size | (SEQUENCE) |
set:subset | (SUB SET) |
set:union | (&rest SETS) |