union

Syntax

union(X, Y) or X|Y

Arguments

X and Y are sets.

Details

Return the union of two sets.

Examples

$ x=set([5,5,3,4]);
$ y=set(8 9 9 4 6);
$ x | y;
set(8,9,6,4,3,5)