hashable-1.3.5.0: A class for types that can be converted to a hash value
License BSD-3-Clause
Stability provisional
Portability GHC >= 7.4
Safe Haskell Safe
Language Haskell2010

Data.Hashable.Generic

Description

Hashable support for GHC generics.

Since: 1.3.0.0

Synopsis

Implementation using Generics.

Constraints

class GHashable arity f where Source #

The class of types that can be generically hashed.

Instances

Instances details
GHashable One Par1 Source #
Instance details

Defined in Data.Hashable.Generic.Instances

GHashable arity ( U1 :: Type -> Type ) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

GHashable arity ( V1 :: Type -> Type ) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

Hashable1 f => GHashable One ( Rec1 f) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

(GSum arity a, GSum arity b) => GHashable arity (a :+: b) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

Hashable a => GHashable arity ( K1 i a :: Type -> Type ) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

( GHashable arity a, GHashable arity b) => GHashable arity (a :*: b) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

GHashable arity a => GHashable arity ( M1 i c a) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

( Hashable1 f, GHashable One g) => GHashable One (f :.: g) Source #
Instance details

Defined in Data.Hashable.Generic.Instances

data Zero Source #

Instances

Instances details
data HashArgs Zero a Source #
Instance details

Defined in Data.Hashable.Class

data family HashArgs arity a :: Type Source #

Instances

Instances details
newtype HashArgs One a Source #
Instance details

Defined in Data.Hashable.Class

data HashArgs Zero a Source #
Instance details

Defined in Data.Hashable.Class