1.4.10 Sets
procedure
(add-to-set-eq sym lst) → t
sym : t lst : (if (symbolp sym) (true-listp lst) (symbol-listp lst)) 
| Examples: | ||||||
| 
 | 
procedure
(add-to-set-eql x lst) → t
x : t lst : (if (eqlablep x) (true-listp lst) (eqlable-listp lst)) 
| Examples: | ||||||
| 
 | 
procedure
(add-to-set-equal s lst) → t
s : t lst : (true-listp lst) 
| Examples: | ||||
| 
 | 
procedure
(intersectp-eq x y) → t
x : (symbol-listp x) y : (symbol-listp y) 
| Examples: | ||||
| 
 | 
procedure
(intersectp-equal x y) → t
x : (true-listp x) y : (true-listp y) 
| Examples: | ||||
| 
 | 
procedure
(set-difference-eq x y) → t
x : (true-listp x) y : (and (true-listp y) (or (symbol-listp x) (symbol-listp y))) 
| Examples: | ||||||
| 
 | 
procedure
(set-difference-equal x y) → t
x : (true-listp x) y : (true-listp y) 
| Example: | ||
| 
 | 
procedure
x : t y : (if (eqlable-listp y) (true-listp x) (if (eqlable-listp x) (true-listp y) nil)) 
| Examples: | ||||||||
| 
 | 
procedure
(subsetp-equal x y) → t
x : (true-listp x) y : (true-listp y) 
| Examples: | ||||
| 
 | 
procedure
x : (symbol-listp x) y : (true-listp y) 
procedure
(union-equal x y) → t
x : (true-listp x) y : (true-listp y) 
| Example: | ||
| 
 | 
procedure
x : t lst : (if (eqlablep x) (true-listp l) (eqlable-listp l)) 
procedure
x : t lst : (if (symbolp x) (true-listp lst) (symbol-listp lst)) 
procedure
(member-equal a lst) → t
a : t lst : (true-listp lst) 
| Examples: | ||||||||
| 
 | 
procedure
(no-duplicatesp lst) → t
lst : (eqlable-listp lst) 
| Examples: | ||||
| 
 | 
procedure
(no-duplicatesp-equal lst) → t
lst : (true-listp lst) 
| Examples: | ||||
| 
 | 
procedure
x : t lst : (if (eqlablep x) (true-listp lst) (eqlable-listp lst)) 
| Examples: | ||||||||
| 
 | 
procedure
x : t lst : (if (symbolp x) (true-listp lst) (symbol-listp lst)) 
procedure
(remove-equal x lst) → t
x : t lst : (true-listp lst) 
| Example: | ||
| 
 | 
procedure
(remove-duplicates lst) → t
lst : (or (stringp l) (eqlable-listp l)) 
| Examples: | ||||
| 
 | 
procedure
(remove-duplicates-equal lst) → t
lst : (true-listp lst) 
| Examples: | ||||
| 
 | 
procedure
x : t lst : (if (eqlablep x) (true-listp lst) (eqlable-listp lst)) 
| Examples: | ||||||||
| 
 | 
procedure
(remove1-eq x lst) → t
x : t lst : (if (symbolp x) (true-listp lst) (symbol-listp lst)) 
| Example: | ||
| 
 | 
procedure
(remove1-equal x lst) → t
x : t lst : (true-listp lst) 
| Example: | ||
| 
 |