html-conduit-1.3.2.2: Parse HTML documents using xml-conduit datatypes.
Safe HaskellNone
LanguageHaskell2010

Text.HTML.DOM

Synopsis

Documentation

eventConduit :: forall (m :: Type -> Type). Monad m => ConduitT ByteString Event m () Source #

Converts a stream of bytes to a stream of properly balanced Events.

Note that there may be multiple (or not) root elements. sinkDoc addresses that case.

sinkDoc :: forall (m :: Type -> Type) o. MonadThrow m => ConduitT ByteString o m Document Source #

eventConduitText :: forall (m :: Type -> Type). Monad m => ConduitT Text Event m () Source #

sinkDocText :: forall (m :: Type -> Type) o. MonadThrow m => ConduitT Text o m Document Source #