Text.Libyaml
- data Event
- data Style
- = Any
- | Plain
- | SingleQuoted
- | DoubleQuoted
- | Literal
- | Folded
- data Tag
- type AnchorName = String
- type Anchor = Maybe AnchorName
- encode :: MonadIO m => Iteratee Event m ByteString
- decode :: MonadIO m => ByteString -> Enumerator Event m a
- encodeFile :: MonadIO m => FilePath -> Iteratee Event m ()
- decodeFile :: MonadIO m => FilePath -> Enumerator Event m a
- data YamlException = YamlException String
The event stream
Constructors
Any | |
Plain | |
SingleQuoted | |
DoubleQuoted | |
Literal | |
Folded |
type AnchorName = StringSource
type Anchor = Maybe AnchorNameSource
Encoding and decoding
decode :: MonadIO m => ByteString -> Enumerator Event m aSource
decodeFile :: MonadIO m => FilePath -> Enumerator Event m aSource
Exception
data YamlException Source
Constructors
YamlException String |