large-hashable-0.1.1.0: Efficiently hash (large) Haskell values
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.LargeHashable.TH

Synopsis

Documentation

deriveLargeHashableCtx Source #

Arguments

:: Name 
-> ([TypeQ] -> [PredQ])

Function mapping the type variables in the instance head to the additional constraints

-> Q [Dec] 

Derive a LargeHashable instance with extra constraints in the context of the instance.

deriveLargeHashableNoCtx :: Name -> Q [Dec] Source #

Derive a LargeHashable instance with no constraints in the context of the instance.

deriveLargeHashableCustomCtx Source #

Arguments

:: Name 
-> ([TypeQ] -> [PredQ] -> [PredQ])

Function mapping the type variables in the instance head and the constraints that would normally be generated to the constraints that should be generated.

-> Q [Dec] 

Derive a LargeHashable instance with a completely custom instance context.