Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
deriveLargeHashableCtx Source #
:: 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 #
:: 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.