Package Info

ghc-hashable


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


Unspecified

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.

'Hashable' is intended exclusively for use in in-memory data structures.

'Hashable' does /not/ have a fixed standard. This allows it to improve over time.

Because it does not have a fixed standard, different computers or computers on different versions of the code will observe different hash values. As such, 'hashable' is not recommended for use other than in-memory datastructures. Specifically, 'hashable' is not intended for network use or in applications which persist hashed values. For stable hashing use named hashes: sha256, crc32, xxhash etc.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/hashable

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.4.7.0-bp160.1.13 info GA Release 2024-06-24 16.0
  • x86-64
  • ghc-hashable
  • ghc-hashable-devel
  • ghc-hashable-doc
  • ghc-hashable-prof
1.4.3.0-150500.3.3.1 info SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-572 2024-02-21 15 SP5 Subpackages Updates
  • x86-64
  • ghc-hashable
  • ghc-hashable-devel
1.3.5.0-bp154.1.11 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-hashable
  • ghc-hashable-devel
1.3.0.0-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-hashable
  • ghc-hashable-devel
1.3.0.0-bp152.2.2 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-hashable
  • ghc-hashable-devel
1.2.7.0-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • x86-64
  • ghc-hashable
  • ghc-hashable-devel
1.2.7.0-bp151.1.10 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-hashable
  • ghc-hashable-devel
1.2.6.1-bp150.2.5 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-hashable
  • ghc-hashable-devel