NOTE: the latest version is 2.1.0
HashSet API.
Generic set of hashable elements.
Unlike Set from the "core" library it is not limited to any specific set of supported types for elements.
Set
Construct an empty HashSet, providing instances of Equality and Hashing explicit typeclasses for value.
Equality
Hashing
Construct from a list of values, providing instances of Equality and Hashing explicit typeclasses for value.
Construct from an array of values, providing instances of Equality and Hashing explicit typeclasses for value.
Insert a value into a set.
Remove a value from a set. If the value is not found, no changes are made.
Determine if a value is in a set.
Determine if a set is empty.
Fold over the values in a set.
Convert a set into a list.
Generic set of hashable elements.
Unlike
Setfrom the "core" library it is not limited to any specific set of supported types for elements.