@hackage hashable1.3.4.0
A class for types that can be converted to a hash value
Installation
Tested Compilers
Dependencies (9)
- base <0
- bytestring >=0.9 && <0.12
- containers >=0.4.2.1 && <0.7
- deepseq >=1.3 && <1.5
- ghc-bignum >=1.0 && <1.1 || >=1.2 && <1.3
- ghc-prim 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. This is not a security feature.
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.