HashSet API.
All construction functions require you to provide
instances for
Equality
and
Hashing
explicit typeclasses.
For general introduction to explicit typeclasses, see the readme of the "typeclasses" library.
Construct an empty HashSet, providing the required instances.
Construct from a list of values, providing the required instances.
Construct from an array of values, providing the required instances.
Remove a value from a set. If the value is not found, no changes are made.
Fold over the values in a set.
Generic set of hashable elements.
Unlike
Setfrom the "core" library it is not limited to any specific set of supported types for elements.