ihttp-0.1.0: Incremental HTTP iteratee

Stabilityexperimental
MaintainerErtugrul Soeylemez <es@ertes.de>

Network.IHttp.Tools

Contents

Description

Enumeratees and other tools.

Synopsis

Character tools

asciiToUpper :: Char -> CharSource

Fast ASCII version of toUpper.

Parser tools

parseIter :: (Exception ex, Monad m) => Parser b -> (String -> ex) -> ByteString -> Iteratee a m bSource

Fully parse a string with the given parser. Throw an iteratee error with the given error constructor, if it fails.

parseFull :: forall a. Parser a -> ByteString -> Either String aSource

Fully parse a string with the given parser.