Package1.5.1.0Data
hashable
A class for types that can be converted to a hash value
- Version1.5.1.0
- CategoryData
- LicenceBSD-3-Clause
- AuthorMilan Straka <fox@ucw.cz> Johan Tibell <johan.tibell@gmail.com>
- MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
- Homepagegithub.com/haskell-unordered-containers/hashable
- Pinned byhackage hashable 1.5.1.0
- Sourcehackage.haskell.org/package/hashable-1.5.1.0
Modules
3 modules- Data.Hashable14This module defines a class, Hashable, for types that can be
- Data.Hashable.Generic8Hashable support for GHC generics.
- Data.Hashable.Lifted5Lifting of the Hashable class to unary and binary type constructors.
Description
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.
Depends on
7 packages- base-4.22.0.0with GHC
- bytestring-0.12.2.0with GHC
- containers-0.8with GHC
- deepseq-1.5.1.0with GHC
- filepath-1.5.4.0with GHC
- os-string-2.0.8with GHC
- text-2.1.3with GHC
Used by in this set · 49
- Unique-0.4.8.0
- aeson-2.2.5.1
- async-2.2.6
- base64-bytestring-type-1.0.1
- bin-0.1.4.1
- byron-spec-chain-1.0.1.1
- byron-spec-ledger-1.1.0.1
- cardano-addresses-4.0.2
- cardano-crypto-1.3.0
- case-insensitive-1.2.1.0
- cassava-0.5.4.1
- constraints-0.14.4
- cuddle-1.8.1.0
- data-fix-0.3.4
- deque-0.4.4.4
- fin-0.3.2
- foldl-1.4.18
- http-api-data-0.7
- io-sim-1.8.0.1
- lens-5.3.6
- microlens-aeson-2.5.2
- mono-traversable-1.0.21.0
- monoidal-containers-0.6.8.0
- ordered-containers-0.2.4
- ouroboros-consensus-4.2.1.0
- ouroboros-network-1.2.0.0
- plutus-core-1.70.0.0
- plutus-tx-1.70.0.0
- pointed-5.0.5
- psqueues-0.2.8.3
- quickcheck-instances-0.4
- ral-0.2.2
- reducers-3.12.5
- scientific-0.3.9.0
- semialign-1.4
- semigroupoids-6.0.2
- serialise-0.2.6.1
- strict-0.5.1
- strict-list-1.0.0.1
- text-short-0.1.6.1
- these-1.2.1
- time-compat-1.9.9
- tomland-1.3.3.3
- trace-dispatcher-2.13.1
- tree-diff-0.4.1
- unordered-containers-0.2.21
- uuid-types-1.0.6.1
- wide-word-0.1.9.0
- witherable-0.5