derive-0.1.4: A program and library to derive instances for data typesSource codeContentsIndex
Language.Haskell.TH.Data
Contents
Depreciated, old type stuff
Description
The core module of the Data.Derive system. This module contains the data types used for communication between the extractors and the derivors.
Synopsis
type DataDef = Dec
type CtorDef = Con
dataName :: DataDef -> String
qualifiedDataName :: DataDef -> Name
dataArity :: DataDef -> Int
dataCtors :: DataDef -> [CtorDef]
ctorName :: CtorDef -> String
qualifiedCtorName :: CtorDef -> Name
ctorArity :: CtorDef -> Int
ctorStrictTypes :: CtorDef -> [StrictType]
ctorTypes :: CtorDef -> [Type]
ctorFields :: CtorDef -> [String]
dropModule :: String -> String
normData :: DataDef -> DataDef
unqualifiedName :: Name -> Name
typeApp :: Type -> (Type, [Type])
eqConT :: String -> Type -> Bool
isTupleT :: Type -> Bool
ex_args :: DataDef -> [Name]
Documentation
type DataDef = DecSource
type CtorDef = ConSource
dataName :: DataDef -> StringSource
qualifiedDataName :: DataDef -> NameSource
dataArity :: DataDef -> IntSource
dataCtors :: DataDef -> [CtorDef]Source
ctorName :: CtorDef -> StringSource
qualifiedCtorName :: CtorDef -> NameSource
ctorArity :: CtorDef -> IntSource
ctorStrictTypes :: CtorDef -> [StrictType]Source
ctorTypes :: CtorDef -> [Type]Source
ctorFields :: CtorDef -> [String]Source
dropModule :: String -> StringSource
normData :: DataDef -> DataDefSource
unqualifiedName :: Name -> NameSource
typeApp :: Type -> (Type, [Type])Source
eqConT :: String -> Type -> BoolSource
isTupleT :: Type -> BoolSource
Depreciated, old type stuff
ex_args :: DataDef -> [Name]Source
Produced by Haddock version 2.4.2