ghc-9.14.0.20251128: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Stg.EnforceEpt.Types

Synopsis

Documentation

extendSigEnv :: forall (p :: StgPass). TagEnv p -> [(Id, TagSig)] -> TagEnv p #

getBinderId :: forall (p :: StgPass). TagEnv p -> BinderP p -> Id #

lookupInfo :: forall (p :: StgPass). TagEnv p -> StgArg -> TagInfo #

Look up a sig in the env or derive it from information in the arg itself.

lookupSig :: forall (p :: StgPass). TagEnv p -> Id -> Maybe TagSig #

Look up a sig in the given env

makeTagged :: forall (p :: StgPass). TagEnv p -> TagEnv 'InferTaggedBinders #

Simple convert env to a env of the 'InferTaggedBinders pass with no other changes.

noSig :: forall (p :: StgPass). TagEnv p -> BinderP p -> (Id, TagSig) #

data TagEnv (p :: StgPass) #

Constructors

TE 

Fields

Instances

Instances details
Outputable (TagEnv p) # 
Instance details

Defined in GHC.Stg.EnforceEpt.Types

Methods

ppr :: TagEnv p -> SDoc #