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

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Flags

Manual Flags

NameDescriptionDefault
sse2

Do we want to assume that a target supports SSE 2?

Enabled
sse41

Do we want to assume that a target supports SSE 4.1?

Disabled
examples

Build example modules

Disabled
Automatic Flags
NameDescriptionDefault
integer-gmp

Are we using integer-gmp to provide fast Integer instances?

Enabled

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

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 1.3.5.0, 1.4.0.0, 1.4.0.1, 1.4.0.2, 1.4.1.0, 1.4.2.0, 1.4.3.0, 1.4.4.0, 1.4.5.0, 1.4.6.0, 1.4.7.0, 1.5.0.0
Change log CHANGES.md
Dependencies base (>=4.4 && <4.13), bytestring (>=0.9 && <0.11), deepseq (>=1.3 && <1.5), ghc-prim, integer-gmp (>=0.2), text (>=0.11.0.5 && <1.3) [details]
Tested with ghc ==8.4.1, ghc ==8.2.2, ghc ==8.0.2, ghc ==7.10.3, ghc ==7.8.4, ghc ==7.6.3, ghc ==7.4.2, ghc ==7.2.2
License BSD-3-Clause
Author Milan Straka <fox@ucw.cz> Johan Tibell <johan.tibell@gmail.com>
Maintainer johan.tibell@gmail.com
Revised Revision 2 made by phadej at 2021-12-31T15:06:00Z
Category Data
Home page http://github.com/tibbe/hashable
Bug tracker https://github.com/tibbe/hashable/issues
Source repo head: git clone https://github.com/tibbe/hashable.git
Uploaded by HerbertValerioRiedel at 2018-03-07T22:05:02Z
Distributions Arch:1.4.4.0, Debian:1.3.0.0, Fedora:1.4.2.0, FreeBSD:1.2.3.3, LTSHaskell:1.4.4.0, NixOS:1.4.4.0, Stackage:1.4.7.0, openSUSE:1.4.7.0
Reverse Dependencies 1082 direct, 13803 indirect [details]
Executables hashable-examples
Downloads 513674 total (1412 in the last 30 days)
Rating 1.5 (votes: 5) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-03-07 [all 1 reports]

Readme for hashable-1.2.7.0

[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.