[Haskell-cafe] Re: How efficient is read?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sun May 9 06:53:30 EDT 2010


Stephen Tetley <stephen.tetley at gmail.com> writes:

> On 9 May 2010 11:42, Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com> wrote:
>
>>> If you want to parse a stream, you don't want Parsec ___ as it
>>> isn't an online parser - online meaning 'streaming' i.e. it can
>>> produce some results during the 'work' rather than a single result at
>>> the end.
>>
>> I thought this was one of the new features in Parsec-3...
>
> Possibly?
>
> If so, maybe the authors ought to mention it in the cabal.file /
> package description. I know it can use bytestrings which have
> efficiency advantages over String, but that doesn't make it online.

Well, RWH talks about Parsecs' "input stream", so maybe I'm just
confusing the terms: http://book.realworldhaskell.org/read/using-parsec.html

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list