union! ( set1 set2 -- set1 )
Factor handbook » The language » Collections » Sets » Operations on sets

Prev:clear-set ( set -- )
Next:diff! ( set1 set2 -- set1 )


Vocabulary
sets

Inputs
set1a set
set2a set


Outputs
set1a set


Word description
Adds all members from set2 to set1.

Side effects
Modifies set1

Definition