Community
Modules 3

Data.Hashable.Generic

provisional

Hashable support for GHC generics.

2 generation diagnostics
  • No documentation declaration for Data.Hashable.Class.HashArgs0
  • No documentation declaration for Data.Hashable.Class.HashArgs1

Implementation using Generics.

genericHashWithSalt :: (Generic a, GHashable Zero (Rep a)) => Int -> a -> Int

Generic hashWithSalt.

genericLiftHashWithSalt :: (Generic1 t, GHashable One (Rep1 t)) => (Int -> a -> Int) -> Int -> t a -> Int

Generic liftHashWithSalt.

Constraints

class GHashable arity f

The class of types that can be generically hashed.

Portability
GHC >= 7.4
Build record and source files

Community contribution. The service has not verified this documentation. The generator reported 6 diagnostics.

Target: Linux on x86-64. Some inferred types and resolved links are not available.

Generator: aihc-haddock-aa6debbd-web-3

Metadata snapshot: faa6d3f9fd3ebef22f7aba74431db0060b5710e437b328fc0a92c18f01cfa566

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.