ghc-7.8.20140130: The GHC API

Safe HaskellNone
LanguageHaskell98

HsPat

Documentation

type InPat id = LPat idSource

type OutPat id = LPat idSource

type LPat id = Located (Pat id)Source

data HsConDetails arg recSource

Constructors

PrefixCon [arg] 
RecCon rec 
InfixCon arg arg 

Instances

(Data arg, Data rec) => Data (HsConDetails arg rec) 
Typeable (* -> * -> *) HsConDetails 

data HsRecFields id argSource

Constructors

HsRecFields 

Fields

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

Instances

(Data id, Data arg) => Data (HsRecFields id arg) 
(OutputableBndr id, Outputable arg) => Outputable (HsRecFields id arg) 
Typeable (* -> * -> *) HsRecFields 

data HsRecField id argSource

Constructors

HsRecField 

Fields

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

Instances

(Data id, Data arg) => Data (HsRecField id arg) 
(OutputableBndr id, Outputable arg) => Outputable (HsRecField id arg) 
Typeable (* -> * -> *) HsRecField 

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