next up previous contents
Next: Subset Up: Sets, Lists, Arrays and Previous: Sorting

Union

Calling Sequence:
union(a, b)
Parameters:
a,b : set

Returns: set

Synopsis: This function returns the union of sets a and b, that is, all elements in a or b or both.

Examples:

> union({1,2,3}, {2,3,4});

See also: subset, intersect, member, minus




Gaston Gonnet
1998-09-15