iteratee patch: unfoldConvStream: workaround for space leak problem

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


Hi,

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.

Regards,
Takano Akio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spaceleak.dpatch
Type: application/octet-stream
Size: 2405 bytes
Desc: not available
URL: <http://projects.haskell.org/pipermail/iteratee/attachments/20110208/21a2ca15/attachment.obj>


More information about the Iteratee mailing list