Hello Bulat,

I ran program A with writeFile instead of appendFile and it still works without problems.
Regarding program B, if I use writeFile the leaking still occurs.

Any other hints? :)

Arnoldo

On Wed, Mar 10, 2010 at 10:32 PM, Bulat Ziganshin <bulat.ziganshin@gmail.com> wrote:
Hello Arnoldo,

Wednesday, March 10, 2010, 11:45:56 PM, you wrote:

> I am learning haskell and I found a space leak that I find
> difficult to solve. I've been asking at #haskell but we could not solve
> the issue.

make some experiments - leave only one file and use version A, then
replace appendFile with writeFile

--
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com