Maintainer | Leon P Smith <leon@melding-monads.com> |
---|---|
Safe Haskell | None |
- type ConversionErrors = MultiErrors ConversionError
- newtype ValueParser a = ValueParser {
- unValueParser :: Value -> (Maybe a, ConversionErrors)
- newtype MaybeParser a = MaybeParser {
- unMaybeParser :: Maybe Value -> (Maybe a, ConversionErrors)
- data ListParserResult a
- = NonListError
- | ListError
- | ListOk a [Value]
- newtype ListParser a = ListParser {
- unListParser :: [Value] -> (ListParserResult a, ConversionErrors)
Documentation
type ConversionErrors = MultiErrors ConversionErrorSource
newtype ValueParser a Source
An action to turn a Value
into zero or one values of type a
,
and possibly report errors/warnings.
ValueParser | |
|
newtype MaybeParser a Source
An action to turn a Maybe
Value
into zero or one values of type a
,
and possibly report errors/warnings.
MaybeParser | |
|
data ListParserResult a Source
newtype ListParser a Source
An action to turn a [
into zero or one values of type Value
]a
,
and possibly report errors/warnings.
ListParser | |
|