Safe Haskell | None |
---|---|
Language | GHC2021 |
Synopsis
- data NotifyP (p :: ConfigPhase) = MkNotifyP {
- action :: NotifyActionF p
- system :: ConfigPhaseF p (NotifySystemP p)
- timeout :: ConfigPhaseF p NotifyTimeout
- type NotifyArgs = NotifyP 'ConfigPhaseArgs
- type NotifyToml = NotifyP 'ConfigPhaseToml
- type NotifyMerged = NotifyP 'ConfigPhaseMerged
- type NotifyEnv = NotifyP 'ConfigPhaseEnv
- mergeNotifyLogging :: NotifyArgs -> Maybe NotifyToml -> Maybe NotifyMerged
- toEnv :: (HasCallStack, MonadDBus m, MonadThrow m) => NotifyMerged -> m NotifyEnv
Documentation
data NotifyP (p :: ConfigPhase) Source #
Holds notification config.
MkNotifyP | |
|
Instances
type NotifyArgs = NotifyP 'ConfigPhaseArgs Source #
type NotifyToml = NotifyP 'ConfigPhaseToml Source #
type NotifyMerged = NotifyP 'ConfigPhaseMerged Source #
type NotifyEnv = NotifyP 'ConfigPhaseEnv Source #
mergeNotifyLogging :: NotifyArgs -> Maybe NotifyToml -> Maybe NotifyMerged Source #
Merges args and toml configs.
toEnv :: (HasCallStack, MonadDBus m, MonadThrow m) => NotifyMerged -> m NotifyEnv Source #