Loading

UNION

sets

Computes the union ∪ of two sets.

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

UNION is available since version 1.0.0.

See also

Signatures

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->