set union - part-cw/lambdanative GitHub Wiki

(set-union s1 s2)

Returns the union of two sets.

Parameter Description
s1 Set
s2 Set

Example

> (define a (set-singleton "S" string<?))
> (define b (list->set '("E" "T") string>?))
> (set->list (set-union a b))
("E" "T" "S")