| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.LargeHashable.TH
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.