tagstream-conduit-0.5.4.1: streamlined html tag parser

Safe HaskellNone

Text.HTML.TagStream.Text

Synopsis

Documentation

type Token = Token' TextSource

type Attr = Attr' TextSource

quotedOr :: Parser Text -> Parser TextSource

atLeast :: Int -> Parser Text -> Parser TextSource

cond :: a -> a -> Bool -> aSource

(||.) :: Applicative f => f Bool -> f Bool -> f BoolSource

in2 :: Eq a => (a, a) -> a -> BoolSource

in3 :: Eq a => (a, a, a) -> a -> BoolSource

cc :: [Text] -> BuilderSource

showToken :: (Text -> Text) -> Token -> BuilderSource

tokenStreamBS :: MonadThrow m => Conduit ByteString m TokenSource

like tokenStream, but it process ByteString input, decode it according to xml version tag.

Only support utf-8 and iso8859 for now.