implemented Set operations on lists
This commit is contained in:
parent
bdfaef4467
commit
47594a07e2
|
@ -765,6 +765,13 @@
|
|||
(values (apply lset-difference! = list lists)
|
||||
(lset-intersection! = list (apply lset-union! lists))))
|
||||
|
||||
(export lset<= lset= lset-adjoin
|
||||
lset-union lset-union!
|
||||
lset-intersection lset-intersection!
|
||||
lset-difference lset-difference!
|
||||
lset-xor lset-xor!
|
||||
lset-diff+intersection lset-diff+intersection!)
|
||||
|
||||
;; # Primitive side-effects
|
||||
;; set-car! set-cdr!
|
||||
(export set-car! set-cdr!))
|
||||
|
|
Loading…
Reference in New Issue