Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type BaseEffs = [Metrics, Logger, Resource, Error AppError]
- evalBaseEffs :: Members [Embed IO, Reader LogConfig, Reader (Maybe PrometheusEnv)] core => forall a. Sem (BaseEffs :& core) a -> Sem core a
- evalBaseEffsPure :: Members [Embed IO, Reader LogConfig] core => forall a. Sem (BaseEffs :& core) a -> Sem core a
Documentation
type BaseEffs = [Metrics, Logger, Resource, Error AppError] Source #
Concrete row of effects for the BaseApp. Note that because there does
| not exist an interpreter for an untagged RawStore
, you must scope
| these effects before they can be interpreted.
evalBaseEffs :: Members [Embed IO, Reader LogConfig, Reader (Maybe PrometheusEnv)] core => forall a. Sem (BaseEffs :& core) a -> Sem core a Source #
An intermediary interpeter, bringing BaseApp
down to CoreEff
.