[Haskell] A opportunity to lern (parsing huge binary file)
Nick Ingolia
nick at ingolia.org
Fri Mar 11 14:54:34 CET 2011
I do the same, but using iteratee and attoparsec-iteratee.
Best,
--Nick
On 2011 Mar 11, at 07:51 EST, Felipe Almeida Lessa wrote:
> 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.
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
Nick Ingolia
nick at ingolia.org
More information about the Haskell
mailing list