iteratee-parsec-0.0.1: Package allowing parsec parser initerateeSource codeContentsIndex
Text.Parsec.Iteratee.Chunk
Portabilityportable
Stabilitynone
Maintaineruzytkownik2@gmail.com
Description
Module providing simple implementation based on accumulating chunks. It is optimised for short parsers.
Synopsis
safeParsecIterateeShort :: (Stream Int (IterateeG s t m) t, Monad m, StreamChunk s t) => ParsecT Int u (IterateeG s t m) a -> u -> SourceName -> IterateeG s t m (Either ParseError a)
Documentation
safeParsecIterateeShort :: (Stream Int (IterateeG s t m) t, Monad m, StreamChunk s t) => ParsecT Int u (IterateeG s t m) a -> u -> SourceName -> IterateeG s t m (Either ParseError a)Source
Create an Iteratee from a ParsecT parser. This is most efficient for relatively smaller parsers (< 1e5 chars), and becomes increasingly inefficient as the parser size increases. If the parse fails, no input is consumed. If the parse succeeds, any data remaining after the parse is available to the iteratee.
Produced by Haddock version 2.6.0