Captures details of the syntax tree relevant to the cost model, such as closures, multi-shot lambdas and case expressions.
Instances1Outputable
Outputable SkeletonDefined in ghc-9.14.1 · GHC.Stg.Lift.Types
:: a typeCtrl KGHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11
Moduleghc-9.14.1GHC2021
Captures details of the syntax tree relevant to the cost model, such as closures, multi-shot lambdas and case expressions.
Outputable SkeletonDefined in ghc-9.14.1 · GHC.Stg.Lift.TypesThe type used in binder positions in GenStgExprs.
BindsClosure !Id !BoolLet(-no-escape)-bound thing with a flag
indicating whether it occurs as an argument
or in a nullary application
(see GHC.Stg.Lift.Analysis#arg_occs).
BoringBinder !IdEvery other kind of binder
Outputable BinderInfoDefined in ghc-9.14.1 · GHC.Stg.Lift.TypesOutputableBndr BinderInfoDefined in ghc-9.14.1 · GHC.Stg.Lift.TypesGets the bound Id out a BinderInfo.
Returns Nothing for BoringBinders and Just the flag indicating occurrences as argument or in a nullary applications otherwise.