Deprecated

hashmap

Persistent containers Map and Set based on hashing.

https://github.com/foxik/hashmap

LTS Haskell 22.41:1.3.3
Stackage Nightly 2024-11-12:1.3.3
Latest on Hackage:1.3.3

See all snapshots hashmap appears in

BSD-3-Clause licensed by Milan Straka
Maintained by Ryan Scott
This version can be pinned in stack with:hashmap-1.3.3@sha256:831096cd644d1b87f16c1933d19cdf938fe8f3911af7ed68b3e8c0bde4baeba4,2550

Module documentation for 1.3.3

hashmap

Hackage Hackage Dependencies Haskell Programming Language BSD3 License Build

:warning: Deprecated in favor of unordered-containers

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 Map key value is an Data.IntMap.IntMap indexed by the hash value, containing either one (key, value) or a Data.Map.Map key value for all keys with the same hash value.

The Set elem is an Data.IntMap.IntMap indexed by the hash value, containing either one elem or Data.Set.Set elem for all elements with the same hash value.