ghc-9.13: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Stg.EnforceEpt.Types

Synopsis

Documentation

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

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

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

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 Source #

Look up a sig in the given env

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

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

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

data TagEnv (p :: StgPass) Source #

Constructors

TE 

Fields

Instances

Instances details
Outputable (TagEnv p) Source # 
Instance details

Defined in GHC.Stg.EnforceEpt.Types

Methods

ppr :: TagEnv p -> SDoc Source #