-
Notifications
You must be signed in to change notification settings - Fork 6
library__sets
Robert Bossy edited this page Jul 27, 2017
·
1 revision
#sets
Functions to compute set operations.
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.