Loading

UNION


sets
Since v1.0.0
Available on all platforms
See also

Computes the union ∪ of two sets.

The UNION function consumes two sets from the top of the stack and pushes back its mathematical union.

Signature

Examples

// Converts the two LISTS into SETS [ 'foo' 'bar' 'Alice' ] ->SET [ 'foo' 'bar' 'Bob' ] ->SET // Compute the union UNION // convert back the SET into LIST SET->