yaml-marked-0.2.0.1: Support for parsing and rendering YAML documents with marks.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Yaml.Marked.Decode

Contents

Synopsis

Documentation

decodeThrow Source #

Arguments

:: MonadThrow m 
=> (Marked Value -> Either String a) 
-> FilePath

Name of input being parsed

-> ByteString 
-> m a 

decodeAllThrow Source #

Arguments

:: MonadThrow m 
=> (Marked Value -> Either String a) 
-> FilePath

Name of input being parsed

-> ByteString 
-> m [a] 

Exceptions

data YamlException #

Constructors

YamlException String 
YamlParseException

problem, context, index, position line, position column