iteratee Fwd: patch: unfoldConvStream: workaround for space leak problem
jwlato at gmail.com
Thu Feb 10 07:43:31 GMT 2011
Thanks very much for this submission, and checking my unfoldConvStream fix.
I have pushed patches and uploaded iteratee-0.7.0.1 to hackage.
On Thu, Feb 10, 2011 at 3:24 AM, Akio Takano <tkn.akio at gmail.com> wrote:
> It seems I replied only to John. I forward it to the list.
> ---------- Forwarded message ----------
> From: Akio Takano <tkn.akio at gmail.com>
> Date: 2011/2/10
> Subject: Re: iteratee patch: unfoldConvStream: workaround for space leak
> To: John Lato <jwlato at gmail.com>
> 2011/2/9 John Lato <jwlato at gmail.com>:
> > I provided an alternative unfoldConvStream to Maciej privately, have
> > you had an opportunity to compare the two? I prefer my proposed
> > definition because it has fewer local bindings and also lifts the
> > binding of "f" outside the recursive calls, however I don't know if it
> > actually solves the space leak.
> I've just checked your definition and it seems to work.
> I noticed that with GHC 6.12.3, (>>=) for Iteratee also suffers from
> the same problem. I attached a patch to work around the issue.
> -- Takano Akio
> Iteratee mailing list
> Iteratee at projects.haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Iteratee