ghc-6.12.3: The GHC APISource codeContentsIndex
NewDemand
Documentation
data Demand Source
Constructors
Top
Abs
Call Demand
Eval Demands
Defer Demands
Box Demand
Bot
show/hide Instances
topDmd :: DemandSource
lazyDmd :: DemandSource
seqDmd :: DemandSource
evalDmd :: DemandSource
errDmd :: DemandSource
isStrictDmd :: Demand -> BoolSource
isTop :: Demand -> BoolSource
isAbsent :: Demand -> BoolSource
seqDemand :: Demand -> ()Source
data DmdType Source
Constructors
DmdType DmdEnv [Demand] DmdResult
show/hide Instances
topDmdType :: DmdTypeSource
botDmdType :: DmdTypeSource
mkDmdType :: DmdEnv -> [Demand] -> DmdResult -> DmdTypeSource
mkTopDmdType :: [Demand] -> DmdResult -> DmdTypeSource
dmdTypeDepth :: DmdType -> AritySource
seqDmdType :: DmdType -> ()Source
type DmdEnv = VarEnv DemandSource
emptyDmdEnv :: VarEnv DemandSource
data DmdResult Source
Constructors
TopRes
RetCPR
BotRes
show/hide Instances
retCPR :: DmdResultSource
isBotRes :: DmdResult -> BoolSource
returnsCPR :: DmdResult -> BoolSource
resTypeArgDmd :: DmdResult -> DemandSource
data Demands Source
Constructors
Poly Demand
Prod [Demand]
show/hide Instances
mapDmds :: (Demand -> Demand) -> Demands -> DemandsSource
zipWithDmds :: (Demand -> Demand -> Demand) -> Demands -> Demands -> DemandsSource
allTop :: Demands -> BoolSource
seqDemands :: Demands -> ()Source
newtype StrictSig Source
Constructors
StrictSig DmdType
show/hide Instances
mkStrictSig :: DmdType -> StrictSigSource
topSig :: StrictSigSource
botSig :: StrictSigSource
cprSig :: StrictSigSource
isTopSig :: StrictSig -> BoolSource
splitStrictSig :: StrictSig -> ([Demand], DmdResult)Source
increaseStrictSigArity :: Int -> StrictSig -> StrictSigSource
pprIfaceStrictSig :: StrictSig -> SDocSource
appIsBottom :: StrictSig -> Int -> BoolSource
isBottomingSig :: StrictSig -> BoolSource
seqStrictSig :: StrictSig -> ()Source
Produced by Haddock version 2.6.1