Safe Haskell | None |
---|---|
Language | Haskell98 |
NOTE: This module is a highly experimental preview release. It may change drastically, or be entirely removed, in a future release.
Documentation
newtype YamlParser a Source #
YamlParser | |
|
lookupAnchor :: AnchorName -> YamlParser (Maybe YamlValue) Source #
withAnchor :: AnchorName -> Text -> (YamlValue -> YamlParser a) -> YamlParser a Source #
withMapping :: Text -> ([(Text, YamlValue)] -> YamlParser a) -> YamlValue -> YamlParser a Source #
withSequence :: Text -> ([YamlValue] -> YamlParser a) -> YamlValue -> YamlParser a Source #
withText :: Text -> (Text -> YamlParser a) -> YamlValue -> YamlParser a Source #
typeMismatch :: Text -> YamlValue -> YamlParser a Source #
parseRawDoc :: (FromYaml a, MonadThrow m) => RawDoc -> m a Source #
data YamlParseException Source #
sinkRawDoc :: MonadThrow m => Consumer Event m RawDoc Source #