derive-2.5.17: A program and library to derive instances for data types
Data.Derive.DSL.HSE
sample :: Input Source
outEq :: Out -> Out -> Bool Source
showOut :: Pretty a => [a] -> String Source
type Input = DataDecl Source
type Ctor = CtorDecl Source
dataName :: DataDecl -> String Source
dataVars :: DataDecl -> Int Source
dataCtors :: DataDecl -> [CtorDecl] Source
ctorName :: CtorDecl -> String Source
ctorArity :: CtorDecl -> Integer Source
ctorIndex :: Input -> Ctor -> Integer Source
toInput :: DataDecl -> Input Source
type Out = [Decl] Source
data Output Source
Constructors
Instances
toOutput :: Data a => a -> Output Source
fromOutput :: Data a => Output -> a Source
coerce :: (Typeable * a1, Typeable * a) => a1 -> a Source
readCon :: DataType -> [Char] -> Constr Source
out :: Data a => a -> Output Source
fromState :: State a x -> x Source
module Language.Haskell