derive-0.1.1: A program and library to derive instances for data types
Source code
Contents
Index
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
=
Dec
Source
type
CtorDef
=
Con
Source
dataName
::
DataDef
->
String
Source
dataArity
::
DataDef
->
Int
Source
dataCtors
::
DataDef
-> [
CtorDef
]
Source
ctorName
::
CtorDef
->
String
Source
ctorArity
::
CtorDef
->
Int
Source
ctorStrictTypes
::
CtorDef
-> [
StrictType
]
Source
ctorTypes
::
CtorDef
-> [
Type
]
Source
ctorFields
::
CtorDef
-> [
String
]
Source
dropModule
::
String
->
String
Source
normData
::
DataDef
->
DataDef
Source
typeApp
::
Type
-> (
Type
, [
Type
])
Source
eqConT
::
String
->
Type
->
Bool
Source
isTupleT
::
Type
->
Bool
Source
Depreciated, old type stuff
ex_args
::
DataDef
-> [
Name
]
Source
Produced by
Haddock
version 2.4.2