Skip to content

library__sets

Robert Bossy edited this page Jul 27, 2017 · 1 revision

#sets

Synopsis

Functions to compute set operations.

Functons

sets:diff(a, b)

Evaluates a and b as lists of elements, then returns the elements in the former that are not in the latter.

sets:all(a, b)

Evaluates a and b as lists of elements, then returns either all elements in the former are in the latter.

sets:inter(a, b)

Evaluates a and b as lists of elements, then returns the intersection of the results.

sets:union(a, b)

Evaluates a and b as lists of elements, then returns the union of the results. The difference between this function and the union operator "|" is that this function removes duplicates.

Clone this wiki locally