derive-0.1.1: 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
dataArity :: DataDef -> Int
dataCtors :: DataDef -> [CtorDef]
ctorName :: CtorDef -> String
ctorArity :: CtorDef -> Int
ctorStrictTypes :: CtorDef -> [StrictType]
ctorTypes :: CtorDef -> [Type]
ctorFields :: CtorDef -> [String]
dropModule :: String -> String
normData :: DataDef -> DataDef
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
dataArity :: DataDef -> IntSource
dataCtors :: DataDef -> [CtorDef]Source
ctorName :: CtorDef -> StringSource
ctorArity :: CtorDef -> IntSource
ctorStrictTypes :: CtorDef -> [StrictType]Source
ctorTypes :: CtorDef -> [Type]Source
ctorFields :: CtorDef -> [String]Source
dropModule :: String -> StringSource
normData :: DataDef -> DataDefSource
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