Maintainer | Leon P Smith <leon@melding-monads.com> |
---|---|
Safe Haskell | None |
Data.Configurator.FromValue.Internal
Description
- 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.
Constructors
ValueParser | |
Fields
|
newtype MaybeParser a Source
An action to turn a Maybe
Value
into zero or one values of type a
,
and possibly report errors/warnings.
Constructors
MaybeParser | |
Fields
|
newtype ListParser a Source
An action to turn a [
into zero or one values of type Value
]a
,
and possibly report errors/warnings.
Constructors
ListParser | |
Fields
|