@hackage hashable1.3.3.0
A class for types that can be converted to a hash value
Installation
Tested Compilers
Dependencies (8)
- base >=4.5 && <4.17
- bytestring >=0.9 && <0.12
- deepseq >=1.3 && <1.5
- ghc-bignum >=1.0 && <1.1 || >=1.2 && <1.3
- ghc-prim
- integer-gmp >=0.4 && <1.1 Show all…
Dependents (1289)
@hackage/greenclip, @hackage/regex-deriv, @hackage/token-search, @hackage/prometheus-effect, @hackage/data-embed, @cardano/ouroboros-network, Show all…
Package Flags
integer-gmp
(on by default)
Are we using integer-gmp to provide fast Integer instances? No effect on GHC-9.0 or later.
random-initial-seed
(off by default)
Randomly initialize the initial seed on each final executable invocation This is useful for catching cases when you rely on (non-existent) stability of hashable's hash functions.
The hashable package
This package defines a class, Hashable, for types that can be
converted to a hash value. This class exists for the benefit of
hashing-based data structures. The package provides instances for
basic types and a way to combine hash values.