hashable: A class for types that can be converted to a hash value

[ bsd3, data, library ] [ Propose Tags ]

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.


[Skip to Readme]
Versions [RSS] [faq] 1.0.0, 1.0.1.0, 1.0.1.1, 1.1.0.0, 1.1.1.0, 1.1.2.0, 1.1.2.1, 1.1.2.2, 1.1.2.3, 1.1.2.4, 1.1.2.5, 1.2.0.0, 1.2.0.1, 1.2.0.2, 1.2.0.3, 1.2.0.4, 1.2.0.5, 1.2.0.6, 1.2.0.7, 1.2.0.8, 1.2.0.9, 1.2.0.10, 1.2.1.0, 1.2.2.0, 1.2.3.0, 1.2.3.1, 1.2.3.2, 1.2.3.3, 1.2.4.0, 1.2.5.0, 1.2.6.0, 1.2.6.1, 1.2.7.0, 1.3.0.0, 1.3.1.0, 1.3.2.0, 1.3.3.0, 1.3.4.0, 1.3.4.1
Change log CHANGES.md
Dependencies base (>=4.5 && <4.17), bytestring (>=0.9 && <0.12), containers (>=0.4.2.1 && <0.7), deepseq (>=1.3 && <1.5), ghc-bignum (==1.0.* || ==1.2.*), ghc-prim, integer-gmp (>=0.4 && <1.1), integer-simple, text (>=0.12 && <1.3) [details]
License BSD-3-Clause
Author Milan Straka <fox@ucw.cz> Johan Tibell <johan.tibell@gmail.com>
Maintainer Oleg Grenrus <oleg.grenrus@iki.fi>
Category Data
Home page http://github.com/haskell-unordered-containers/hashable
Bug tracker https://github.com/haskell-unordered-containers/hashable/issues
Source repo head: git clone https://github.com/haskell-unordered-containers/hashable.git
Uploaded by phadej at 2021-10-03T10:11:26Z
Distributions Arch:1.3.2.0, Debian:1.2.7.0, Fedora:1.3.0.0, FreeBSD:1.2.3.3, LTSHaskell:1.3.0.0, NixOS:1.3.0.0, Stackage:1.3.4.1, openSUSE:1.3.0.0
Downloads 464981 total (4242 in the last 30 days)
Rating 1.5 (votes: 5) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-10-03 [all 1 reports]

Modules

[Index] [Quick Jump]

Manual Flags

NameDescriptionDefault
random-initial-seed

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.

Disabled
Automatic Flags
NameDescriptionDefault
integer-gmp

Are we using integer-gmp to provide fast Integer instances? No effect on GHC-9.0 or later.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for hashable-1.3.4.1

[back to package description]

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.