- 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 :: MonadCatchIO 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
type AnchorName = StringSource
type Anchor = Maybe AnchorNameSource
Encoding and decoding
decode :: MonadCatchIO m => ByteString -> Enumerator Event m aSource
decodeFile :: MonadIO m => FilePath -> Enumerator Event m aSource