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 · 26
- aeson-2.3.2.0
- alfred-margaret-2.1.1.1
- async-2.2.6
- case-insensitive-1.2.1.0
- constraints-0.14.4
- data-fix-0.3.4
- hoogle-5.0.19.0
- lens-5.3.6
- mono-traversable-1.0.21.0
- path-0.9.6
- psqueues-0.2.8.3
- rio-0.1.25.0
- scientific-0.3.9.0
- semialign-1.4
- semigroupoids-6.0.2
- serialise-0.2.6.1
- strict-0.5.1
- text-short-0.1.6.1
- these-1.2.1
- time-compat-1.9.9
- uniplate-1.6.13
- unordered-containers-0.2.21
- uuid-types-1.0.6.1
- vault-0.3.2.0
- warp-3.4.16
- witherable-0.5