A set of unique values. The values can be any type, as the implementation is based on AssocList
Remove a value from a set. If the value is not found, no changes are made.
Get the intersection of two sets. Keeps values that appear in both sets.
Get the difference between the first set and the second. Keeps values that do not appear in the second set.
Map a function onto a set, creating a new set with no duplicates.
Fold over the values in a set, in order from lowest to highest.
Fold over the values in a set, in order from highest to lowest.
Create a new set consisting only of elements which satisfy a predicate.
Represents a set of unique values. So
(Set Int)is a set of integers and(Set String)is a set of strings.