Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Provides concrete Env type for running Charon.
Documentation
Concrete environment type that can be used for running Charon functions.
Instances
(k1 ~ A_Lens, a ~ Backend, b ~ Backend) => LabelOptic "backend" k1 (Env m) (Env m) a b Source # | |
Defined in Charon.Runner.Env | |
(k1 ~ A_Lens, a ~ LogEnv m1, b ~ LogEnv m2) => LabelOptic "logEnv" k1 (Env m1) (Env m2) a b Source # | |
Defined in Charon.Runner.Env | |
(k1 ~ A_Lens, a ~ PathI 'TrashHome, b ~ PathI 'TrashHome) => LabelOptic "trashHome" k1 (Env m) (Env m) a b Source # | |
Defined in Charon.Runner.Env | |
Show (Env m) Source # | |
HasBackend (Env m) Source # | |
Defined in Charon.Runner.Env getBackend :: Env m -> Backend Source # | |
HasTrashHome (Env m) Source # | |
Defined in Charon.Runner.Env | |
(MonadHandleWriter m, MonadTime m) => MonadLoggerNS (CharonT (Env m) m) Source # | |
Defined in Charon.Runner.CharonT | |
(MonadHandleWriter m, MonadTime m) => MonadLogger (CharonT (Env m) m) Source # | |
Defined in Charon.Runner.CharonT |
Holds logging env data.
MkLogEnv | |
|
Instances
(k1 ~ A_Lens, a ~ Maybe (LogFile m1), b ~ Maybe (LogFile m2)) => LabelOptic "logFile" k1 (LogEnv m1) (LogEnv m2) a b Source # | |
Defined in Charon.Runner.Env | |
(k1 ~ A_Lens, a ~ Namespace, b ~ Namespace) => LabelOptic "logNamespace" k1 (LogEnv m) (LogEnv m) a b Source # | |
Defined in Charon.Runner.Env | |
Show (LogEnv m) Source # | |
Data for file logging.
Instances
(Dysfunctional "handle" k1 (LogFile m1) (LogFile m2) a b, k1 ~ A_Lens, a ~ Handle, b ~ Handle) => LabelOptic "handle" k1 (LogFile m1) (LogFile m2) a b Source # | |
Defined in Charon.Runner.Env | |
(Dysfunctional "logLevel" k1 (LogFile m1) (LogFile m2) a b, k1 ~ A_Lens, a ~ LogLevel, b ~ LogLevel) => LabelOptic "logLevel" k1 (LogFile m1) (LogFile m2) a b Source # | |
Defined in Charon.Runner.Env | |
Show (LogFile m) Source # | |