[Haskell] A opportunity to lern (parsing huge binary file)

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Mar 11 13:51:16 CET 2011


On Fri, Mar 11, 2011 at 8:11 AM, Ketil Malde <ketil at malde.org> wrote:
> I use binary <0.5 (later versions can no longer read a list of items
> lazily.  I believe attoparsec has the same restriction.)

You can define a parser for one item using attoparsec and then get all
items using an enumerator with attoparsec-enumerator.

Cheers,

-- 
Felipe.



More information about the Haskell mailing list