library__sets - Bibliome/alvisnlp GitHub Wiki

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

⚠️ **GitHub.com Fallback** ⚠️