Safe Haskell | None |
---|---|
Language | GHC2021 |
Types related to late cost center insertion
Synopsis
- data LateCCConfig = LateCCConfig {}
- data LateCCBindSpec
- data LateCCEnv = LateCCEnv {}
- data LateCCState s = LateCCState {}
- initLateCCState :: s -> LateCCState s
- type LateCCM s = ReaderT LateCCEnv (State (LateCCState s))
Documentation
data LateCCConfig Source #
Late cost center insertion configuration.
Specifies whether cost centers are added to overloaded function call sites and/or top-level bindings, and which top-level bindings they are added to. Also holds the cost center insertion environment.
data LateCCBindSpec Source #
The types of top-level bindings we support adding cost centers to.
Late cost centre insertion environment
LateCCEnv | |
|
data LateCCState s Source #
Late cost centre insertion state, indexed by some extra state type that an insertion method may require.
LateCCState | |
|
initLateCCState :: s -> LateCCState s Source #
The empty late cost centre insertion state