Safe Haskell | None |
---|
- eventConduit :: Monad m => Conduit ByteString m Event
- sinkDoc :: MonadThrow m => Sink ByteString m Document
- readFile :: FilePath -> IO Document
- parseLBS :: ByteString -> Document
Documentation
eventConduit :: Monad m => Conduit ByteString m EventSource
Converts a stream of bytes to a stream of properly balanced Event
s.
Note that there may be multiple (or not) root elements. sinkDoc
addresses
that case.
sinkDoc :: MonadThrow m => Sink ByteString m DocumentSource
parseLBS :: ByteString -> DocumentSource