Skip to content
Chris Petersen edited this page Mar 24, 2016 · 1 revision

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")
Clone this wiki locally