iteratee patch: unfoldConvStream: workaround for space leak problem

Akio Takano tkn.akio at
Tue Feb 8 02:25:26 GMT 2011


Attached is a proposed patch for the space leak problem discussed by
Maciej Wos. It makes the definition of unfoldConvStream non-recursive.
It also adds a new recursive function `self', which won't receive a
Nullable dictionary as an argument.

I confirmed that this patch fixes Maciej's problem. Other functions
from the library may suffer from the same problem, but I haven't
tested yet. So this patch only modifies unfoldConvStream.

Takano Akio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spaceleak.dpatch
Type: application/octet-stream
Size: 2405 bytes
Desc: not available
URL: <>

More information about the Iteratee mailing list