derive-2.5.18: A program and library to derive instances for data types
Data.Derive.DSL.HSE
sample :: InputSource
outEq :: Out -> Out -> BoolSource
showOut :: Pretty a => [a] -> StringSource
type Input = DataDeclSource
type Ctor = CtorDeclSource
dataName :: DataDecl -> StringSource
dataVars :: DataDecl -> IntSource
dataCtors :: DataDecl -> [CtorDecl]Source
ctorName :: CtorDecl -> StringSource
ctorArity :: CtorDecl -> IntegerSource
ctorIndex :: Input -> Ctor -> IntegerSource
toInput :: DataDecl -> InputSource
type Out = [Decl]Source
data Output Source
Constructors
Instances
toOutput :: Data a => a -> OutputSource
fromOutput :: Data a => Output -> aSource
coerce :: (Typeable a1, Typeable a) => a1 -> aSource
readCon :: DataType -> [Char] -> ConstrSource
out :: Data a => a -> OutputSource
fromState :: State a x -> xSource
module Language.Haskell