|
Data.Hashable | Portability | non-portable (requires STM) | Stability | experimental | Maintainer | Edward Kmett <ekmett@gmail.com> |
|
|
|
|
|
Description |
A simple class for hashable objects to facilitate the use of Data.THash.
We try to use a number of non-prime mix functions to better support the
power of 2 hashing function under the hood.
|
|
|
Documentation |
|
class Hashable a where |
| Methods | | | Instances | Hashable Char | Hashable Int | (Hashable a, Hashable b) => Hashable (a, b) | (Hashable a, Hashable b, Hashable c) => Hashable (a, b, c) | (Hashable a, Hashable b, Hashable c, Hashable d) => Hashable (a, b, c, d) | (Hashable a, Hashable b, Hashable c, Hashable d, Hashable e) => Hashable (a, b, c, d, e) | Hashable a => Hashable [a] |
|
|
|
hash :: Hashable a => a -> Int |
|
Produced by Haddock version 0.7 |