Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
This modules provides toml configuration related to events.
Synopsis
- data RepeatEventToml
- _NoRepeatsToml :: Prism' RepeatEventToml ()
- _AllowRepeatsToml :: Prism' RepeatEventToml ()
- repeatEventOptDecoder :: Decoder (Maybe RepeatEventToml)
- repeatEventTomlToVal :: MonadIORef m => RepeatEventToml -> m (RepeatEvent a)
- mRepeatEventTomlToVal :: MonadIORef m => Maybe RepeatEventToml -> m (RepeatEvent a)
- data ErrorNoteToml
- _NoErrNoteToml :: Prism' ErrorNoteToml ()
- _ErrNoteAllowRepeatsToml :: Prism' ErrorNoteToml ()
- _ErrNoteNoRepeatsToml :: Prism' ErrorNoteToml ()
- errorNoteOptDecoder :: Decoder (Maybe ErrorNoteToml)
- errorNoteTomlToVal :: MonadIORef m => ErrorNoteToml -> m ErrorNote
- mErrorNoteTomlToVal :: MonadIORef m => Maybe ErrorNoteToml -> m ErrorNote
Documentation
data RepeatEventToml Source #
TOML for RepeatEvent
.
Instances
Show RepeatEventToml Source # | |
Defined in Navi.Event.Toml | |
Eq RepeatEventToml Source # | |
Defined in Navi.Event.Toml (==) :: RepeatEventToml -> RepeatEventToml -> Bool Source # (/=) :: RepeatEventToml -> RepeatEventToml -> Bool Source # | |
DecodeTOML RepeatEventToml Source # | Since: 0.1 |
Defined in Navi.Event.Toml |
repeatEventOptDecoder :: Decoder (Maybe RepeatEventToml) Source #
TOML decoder for optional RepeatEventToml
with field name
"repeat-events".
Since: 0.1
repeatEventTomlToVal :: MonadIORef m => RepeatEventToml -> m (RepeatEvent a) Source #
Constructs a mutable RepeatEvent
from RepeatEventToml
.
mRepeatEventTomlToVal :: MonadIORef m => Maybe RepeatEventToml -> m (RepeatEvent a) Source #
Constructs a mutable RepeatEvent
from RepeatEventToml
. If none is
provided, defaults to NoRepeatsToml
, i.e., no repeats.
data ErrorNoteToml Source #
TOML for ErrorNote
.
Instances
Show ErrorNoteToml Source # | |
Defined in Navi.Event.Toml | |
Eq ErrorNoteToml Source # | |
Defined in Navi.Event.Toml (==) :: ErrorNoteToml -> ErrorNoteToml -> Bool Source # (/=) :: ErrorNoteToml -> ErrorNoteToml -> Bool Source # | |
DecodeTOML ErrorNoteToml Source # | Since: 0.1 |
Defined in Navi.Event.Toml |
_NoErrNoteToml :: Prism' ErrorNoteToml () Source #
errorNoteOptDecoder :: Decoder (Maybe ErrorNoteToml) Source #
TOML decoder for optional ErrorNoteToml
with field name
"error-events".
Since: 0.1
errorNoteTomlToVal :: MonadIORef m => ErrorNoteToml -> m ErrorNote Source #
Constructs a mutable ErrorNote
from ErrorNoteToml
.
mErrorNoteTomlToVal :: MonadIORef m => Maybe ErrorNoteToml -> m ErrorNote Source #
Constructs a mutable ErrorNote
from ErrorNoteToml
. If none is
provided, defaults to ErrNoteNoRepeatsToml
, i.e., we do send
notifications for errors, but we do not send repeats.