Generic hashWithSalt.
Modulehashable-1.4.7.0Haskell2010
Data.Hashable.Generic
Hashable support for GHC generics.
- 2 types
- 1 class
- 2 values
- Packagehashable-1.4.7.0
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceGeneric.hs
Implementation using Generics.
2 declarationsGeneric liftHashWithSalt.
Constraints
6 declarationsThe class of types that can be generically hashed.
Methods
ghashWithSalt :: HashArgs arity a -> Int -> f a -> Int
Instances9GHashable, …
GHashable One Par1Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphanGHashable arity U1Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphanGHashable arity V1Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphanHashable1 f => GHashable One (Rec1 f)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphanHashable a => GHashable arity (K1 i a)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphan(GHashable arity a, GHashable arity b) => GHashable arity (a :*: b)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphan(GSum arity a, GSum arity b) => GHashable arity (a :+: b)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphanGHashable arity a => GHashable arity (M1 i c a)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphan(Hashable1 f, GHashable One g) => GHashable One (f :.: g)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphan
Instances4GHashable, HashArgs
GHashable One Par1Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphanHashable1 f => GHashable One (Rec1 f)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphan(Hashable1 f, GHashable One g) => GHashable One (f :.: g)Defined in hashable-1.4.7.0 · Data.Hashable.Generic.Instances · orphandata HashArgs OneDefined in hashable-1.4.7.0 · Data.Hashable.Class