| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
Navi.Data.CommandResultParser
Synopsis
Documentation
newtype CommandResultParserToml Source #
Exists so that we can attach the DecodeTOML instance. The text argument is the service's name, which we later use when throwing parse errors.
Constructors
| MkCommandResultParserToml | |
Fields | |
Instances
| Show CommandResultParserToml Source # | |
Defined in Navi.Data.CommandResultParser Methods showsPrec :: Int -> CommandResultParserToml -> ShowS # show :: CommandResultParserToml -> String # showList :: [CommandResultParserToml] -> ShowS # | |
| Eq CommandResultParserToml Source # | |
Defined in Navi.Data.CommandResultParser Methods (==) :: CommandResultParserToml -> CommandResultParserToml -> Bool # (/=) :: CommandResultParserToml -> CommandResultParserToml -> Bool # | |
| DecodeTOML CommandResultParserToml Source # | |
Defined in Navi.Data.CommandResultParser Methods | |
| (k ~ An_Iso, a ~ (Text -> CommandResultParser), b ~ (Text -> CommandResultParser)) => LabelOptic "unCommandResultParserToml" k CommandResultParserToml CommandResultParserToml a b Source # | |
Defined in Navi.Data.CommandResultParser Methods labelOptic :: Optic k NoIx CommandResultParserToml CommandResultParserToml a b Source # | |
newtype CommandResultParser Source #
Parses a text command result
Constructors
| MkCommandResultParser | |
Fields | |
Instances
| Show CommandResultParser Source # | |
Defined in Navi.Data.CommandResultParser Methods showsPrec :: Int -> CommandResultParser -> ShowS # show :: CommandResultParser -> String # showList :: [CommandResultParser] -> ShowS # | |
| Eq CommandResultParser Source # | |
Defined in Navi.Data.CommandResultParser Methods (==) :: CommandResultParser -> CommandResultParser -> Bool # (/=) :: CommandResultParser -> CommandResultParser -> Bool # | |
| (k ~ An_Iso, a ~ (Text -> Either EventError CommandResult), b ~ (Text -> Either EventError CommandResult)) => LabelOptic "unCommandResultParser" k CommandResultParser CommandResultParser a b Source # | |
Defined in Navi.Data.CommandResultParser Methods labelOptic :: Optic k NoIx CommandResultParser CommandResultParser a b Source # | |