yaml-0.8.8.3: Support for parsing and rendering YAML documents.

Safe HaskellNone

Text.Libyaml

Contents

Description

Low-level, streaming YAML interface. For a higher-level interface, see Data.Yaml.

Synopsis

The event stream

Encoding and decoding

encodeFile :: MonadResource m => FilePath -> Consumer Event m ()Source

Error handling

data YamlException Source

Constructors

YamlException String 
YamlParseException

problem, context, index, position line, position column

data YamlMark Source

The pointer position

Constructors

YamlMark 

Fields

yamlIndex :: Int
 
yamlLine :: Int
 
yamlColumn :: Int
 

Instances