ghc-7.10.0.20141222: The GHC API

Safe HaskellNone
LanguageHaskell2010

HsPat

Synopsis

Documentation

type InPat id = LPat id Source

type OutPat id = LPat id Source

type LPat id = Located (Pat id) Source

data HsConDetails arg rec Source

Constructors

PrefixCon [arg] 
RecCon rec 
InfixCon arg arg 

Instances

(Data arg, Data rec) => Data (HsConDetails arg rec) 
Typeable (* -> * -> *) HsConDetails 
Typeable ([arg] -> HsConDetails arg rec) (PrefixCon arg rec) 
Typeable (rec -> HsConDetails arg rec) (RecCon arg rec) 
Typeable (arg -> arg -> HsConDetails arg rec) (InfixCon arg rec) 

data HsRecFields id arg Source

Constructors

HsRecFields 

Fields

rec_flds :: [LHsRecField 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 arg Source

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 

type LHsRecField id arg = Located (HsRecField id arg) Source

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