@hackage hashmap1.2.0.0
Persistent containers Map and Set based on hashing.
Deprecated
Dependencies (3)
- base >=4.0 && <5
- containers >=0.3
- hashable >=1.0 Show all…
Dependents (22)
@hackage/confsolve, @hackage/openapi3-code-generator, @hackage/timeplot, @hackage/YamlReference, @hackage/wai-app-file-cgi, @hackage/acme-everything, Show all…
An implementation of persistent Map and Set containers
based on hashing. The implementation is build on
top of Data.IntMap.IntMap and Data.IntSet.IntSet,
with very similar API. It uses Hashable class from the
hashable package for hashing.
This package can be used as a drop-in replacement for
Data.Map and Data.Set modules.
The is an Map key valueData.IntMap.IntMap
indexed by the hash value, containing either one (key, value)
or a for all keys with the same hash value.Data.Map.Map key value
The is an Set elemData.IntMap.IntMap indexed by
the hash value, containing either one elem or for
all elements with the same hash value.Data.Set.Set elem