ghc-9.0.1: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.Core.UsageEnv

Synopsis

Documentation

data UsageEnv Source #

Instances

Instances details
Outputable UsageEnv # 
Instance details

Defined in GHC.Core.UsageEnv

lookupUE :: NamedThing n => UsageEnv -> n -> Usage Source #

|lookupUE x env| returns the multiplicity assigned to |x| in |env|, if |x| is not bound in |env|, then returns |Zero| or |Bottom|.

data Usage Source #

Constructors

Zero 
Bottom 
MUsage Mult 

Instances

Instances details
Outputable Usage # 
Instance details

Defined in GHC.Core.UsageEnv