ghc-8.0.1: The GHC API

Safe HaskellNone
LanguageHaskell2010

Demand

Documentation

data Count Source #

Constructors

One 
Many 

type Demand = JointDmd ArgStr ArgUse Source #

type CleanDemand = JointDmd StrDmd UseDmd Source #

getStrDmd :: JointDmd s u -> s Source #

getUseDmd :: JointDmd s u -> u Source #

toCleanDmd :: Demand -> Type -> (DmdShell, CleanDemand) Source #

type BothDmdArg = (DmdEnv, Termination ()) Source #

type DmdResult = Termination CPRResult Source #

useCount :: Use u -> Count Source #