Event with start and end marks.
Modulelibyaml-0.1.4Haskell2010
Text.Libyaml
Low-level, streaming YAML interface. For a higher-level interface, see
Data.Yaml.
- 11 types
- 15 values
- Packagelibyaml-0.1.4
- Exports26
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceLibyaml.hs
The event stream
8 declarationsStyle for scalars - e.g. quoted / folded
Instances7Bounded, Enum, Eq, Data, Ord, Read, …
Bounded StyleDefined in libyaml-0.1.4 · Text.LibyamlEnum StyleDefined in libyaml-0.1.4 · Text.LibyamlEq StyleDefined in libyaml-0.1.4 · Text.LibyamlData StyleDefined in libyaml-0.1.4 · Text.LibyamlOrd StyleDefined in libyaml-0.1.4 · Text.LibyamlRead StyleDefined in libyaml-0.1.4 · Text.LibyamlShow StyleDefined in libyaml-0.1.4 · Text.Libyaml
Style for sequences - e.g. block or flow
Instances6Bounded, Enum, Eq, Data, Ord, Show
Bounded SequenceStyleDefined in libyaml-0.1.4 · Text.LibyamlEnum SequenceStyleDefined in libyaml-0.1.4 · Text.LibyamlEq SequenceStyleDefined in libyaml-0.1.4 · Text.LibyamlData SequenceStyleDefined in libyaml-0.1.4 · Text.LibyamlOrd SequenceStyleDefined in libyaml-0.1.4 · Text.LibyamlShow SequenceStyleDefined in libyaml-0.1.4 · Text.Libyaml
Style for mappings - e.g. block or flow
Instances6Bounded, Enum, Eq, Data, Ord, Show
Bounded MappingStyleDefined in libyaml-0.1.4 · Text.LibyamlEnum MappingStyleDefined in libyaml-0.1.4 · Text.LibyamlEq MappingStyleDefined in libyaml-0.1.4 · Text.LibyamlData MappingStyleDefined in libyaml-0.1.4 · Text.LibyamlOrd MappingStyleDefined in libyaml-0.1.4 · Text.LibyamlShow MappingStyleDefined in libyaml-0.1.4 · Text.Libyaml
Encoding and decoding
16 declarationsCreate a conduit that yields events from a bytestring.
Create a conduit that yields marked events from a bytestring.
This conduit will yield identical events to that of "decode", but also includes start and end marks for each event.
Creata a conduit that yields events from a file.
Create a conduit that yields marked events from a file.
This conduit will yield identical events to that of "decodeFile", but also includes start and end marks for each event.
Contains options relating to the formatting (indendation, width) of the YAML output.
Set the maximum number of columns in the YAML output, or Nothing for infinite. By default, the limit is 80 characters.
Control when and whether tags are rendered to output.
A value for formatOptionsRenderTags that renders no
collection tags but all scalar tags (unless suppressed with styles
'NoTag or PlainNoTag).
A value for formatOptionsRenderTags that renders all
tags (except NoTag tag and PlainNoTag style).
A value for formatOptionsRenderTags that renders no
tags.
A value for formatOptionsRenderCollectionTags that renders tags
which are instances of UriTag
Error handling
2 declarationsConstructors
YamlException StringYamlParseExceptionproblem, context, index, position line, position column
Instances2Show, Exception
Show YamlExceptionDefined in libyaml-0.1.4 · Text.LibyamlException YamlExceptionDefined in libyaml-0.1.4 · Text.Libyaml