derive-2.6.3: A program and library to derive instances for data types

Safe HaskellNone
LanguageHaskell2010

Data.Derive.Internal.Derivation

Documentation

data Derivation Source #

Constructors

Derivation 

Fields

derivationParams :: String -> ([Type ()] -> (String -> Decl ()) -> FullDataDecl -> Either String [Decl ()]) -> Derivation Source #

derivationCustomDSL :: String -> (FullDataDecl -> [Decl ()] -> [Decl ()]) -> DSL -> Derivation Source #

customSplice :: (FullDataDecl -> Exp () -> Exp ()) -> FullDataDecl -> [Decl ()] -> [Decl ()] Source #

customContext :: (FullDataDecl -> Context () -> Context ()) -> FullDataDecl -> [Decl ()] -> [Decl ()] Source #