Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- combineAltInfo :: TagInfo -> TagInfo -> TagInfo
- extendSigEnv :: forall (p :: StgPass). TagEnv p -> [(Id, TagSig)] -> TagEnv p
- getBinderId :: forall (p :: StgPass). TagEnv p -> BinderP p -> Id
- initEnv :: Bool -> TagEnv 'CodeGen
- isDunnoSig :: TagSig -> Bool
- isTaggedInfo :: TagInfo -> Bool
- lookupInfo :: forall (p :: StgPass). TagEnv p -> StgArg -> TagInfo
- lookupSig :: forall (p :: StgPass). TagEnv p -> Id -> Maybe TagSig
- makeTagged :: forall (p :: StgPass). TagEnv p -> TagEnv 'InferTaggedBinders
- noSig :: forall (p :: StgPass). TagEnv p -> BinderP p -> (Id, TagSig)
- type InferStgAlt = GenStgAlt 'InferTaggedBinders
- type InferStgBinding = GenStgBinding 'InferTaggedBinders
- type InferStgExpr = GenStgExpr 'InferTaggedBinders
- type InferStgRhs = GenStgRhs 'InferTaggedBinders
- type InferStgTopBinding = GenStgTopBinding 'InferTaggedBinders
- data TagEnv (p :: StgPass) = TE {}
- type TagSigEnv = IdEnv TagSig
- module GHC.Stg.EnforceEpt.TagSig
Documentation
isDunnoSig :: TagSig -> Bool Source #
isTaggedInfo :: TagInfo -> Bool 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.
type InferStgAlt = GenStgAlt 'InferTaggedBinders Source #
type InferStgExpr = GenStgExpr 'InferTaggedBinders Source #
type InferStgRhs = GenStgRhs 'InferTaggedBinders Source #
module GHC.Stg.EnforceEpt.TagSig