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 modulesDescription
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.23.0.0with GHC
- bytestring-0.12.2.0with GHC
- containers-0.8with GHC
- deepseq-1.5.2.0with GHC
- filepath-1.5.5.0with GHC
- os-string-2.0.11with GHC
- text-2.1.4with GHC