ghc-7.0.3: The GHC API

Demand

Documentation

isStrictDmd :: Demand -> Bool

isTop :: Demand -> Bool

isAbsent :: Demand -> Bool

seqDemand :: Demand -> ()

data DmdType

Constructors

DmdType DmdEnv [Demand] DmdResult 

data DmdResult

Constructors

TopRes 
RetCPR 
BotRes 

isBotRes :: DmdResult -> Bool

data Demands

Constructors

Poly Demand 
Prod [Demand] 

allTop :: Demands -> Bool

newtype StrictSig

Constructors

StrictSig DmdType 

isTopSig :: StrictSig -> Bool

appIsBottom :: StrictSig -> Int -> Bool