[Haskell-cafe] Releasing head of lazy ByteString

Gregory Collins greg at gregorycollins.net
Mon Feb 21 08:28:06 CET 2011

On Sun, Feb 20, 2011 at 8:16 AM, tsuraan <tsuraan at gmail.com> wrote:
> Ok, I'll see if I have any problems.  What I'm doing seemed like it
> might be the wrong way to go, so I figured I'd ask about it to see if
> I got any "don't do that" type responses.  Sounds like what I'm doing
> is pretty much sane, so I'll see if I run into any trouble.

It's sane but it's fiddly and error-prone, which is why a lot of
people tend to be using iteratees (using either the iteratee or
enumerator packages) for this kind of thing these days.

Gregory Collins <greg at gregorycollins.net>

More information about the Haskell-Cafe mailing list