all/2 | Check if all entries of a set satisfy a predicate. |
equals/2 | Check if 2 sets contain the same elements. |
intersects/2 | Check if the given sets have a nonempty intersection. |
is_empty/1 | Check if the given set is empty. |
map/2 | Map a function over the elements of a set. |
symmetric_difference/2 | Calculates the symmetric difference of 2 sets. |
all(Pred::fun((T) -> boolean()), Set::sets:set(T)) -> boolean()
Check if all entries of a set satisfy a predicate.
Beware vacuous truths: if the given set is empty, all entries match the predicate and the result will betrue
.
Check if 2 sets contain the same elements.
Check if the given sets have a nonempty intersection.
is_empty(Set::sets:set(T::term())) -> boolean()
Check if the given set is empty.
Map a function over the elements of a set.
Note that if some of the values in the given set map to the same value, the resulting set may be smaller as it will only contain unique elements.Calculates the symmetric difference of 2 sets.
In other words, find all the elements that do not exist in both sets.Generated by EDoc