derive-2.0.1: A program and library to derive instances for data typesSource codeContentsIndex
Language.Haskell
Documentation
foralls :: Type -> TypeSource
simplify :: Data a => a -> aSource
dataDeclType :: DataDecl -> TypeSource
dataDeclFields :: DataDecl -> [String]Source
type DataDecl = DeclSource
type CtorDecl = Either QualConDecl GadtDeclSource
type FieldDecl = [(String, BangType)]Source
type FullDataDecl = (ModuleName, DataDecl)Source
bind :: String -> [Pat] -> Exp -> DeclSource
binds :: String -> [([Pat], Exp)] -> DeclSource
isDataDecl :: Decl -> BoolSource
dataDeclSrcLoc :: DataDecl -> SrcLocSource
dataDeclName :: DataDecl -> StringSource
dataDeclVars :: DataDecl -> [String]Source
dataDeclArity :: DataDecl -> IntSource
dataDeclCtors :: DataDecl -> [CtorDecl]Source
ctorDeclName :: CtorDecl -> StringSource
ctorDeclName' :: CtorDecl -> NameSource
ctorDeclFields :: CtorDecl -> FieldDeclSource
ctorDeclArity :: CtorDecl -> IntSource
module Language.Haskell.Exts
Produced by Haddock version 2.4.2