ghc-7.4.2: The GHC API

Safe HaskellNone

HsPat

Documentation

type InPat id = LPat idSource

type OutPat id = LPat idSource

type LPat id = Located (Pat id)Source

data HsConDetails arg rec Source

Constructors

PrefixCon [arg] 
RecCon rec 
InfixCon arg arg 

Instances

Typeable2 HsConDetails 
(Data arg, Data rec) => Data (HsConDetails arg rec) 

data HsRecFields id arg Source

Constructors

HsRecFields 

Fields

rec_flds :: [HsRecField id arg]
 
rec_dotdot :: Maybe Int
 

Instances

data HsRecField id arg Source

Constructors

HsRecField 

Fields

hsRecFieldId :: Located id
 
hsRecFieldArg :: arg
 
hsRecPun :: Bool
 

Instances

Typeable2 HsRecField 
(Data id, Data arg) => Data (HsRecField id arg) 
(OutputableBndr id, Outputable arg) => Outputable (HsRecField id arg) 

hsRecFields :: HsRecFields id arg -> [id]Source