Re: [Haskell-cafe] Space leak with unsafePerformIO

2010-07-01 Thread Simon Marlow
On 30/06/2010 18:13, Yitzchak Gale wrote: Henning Thielemann wrote on Haskell Cafe: Attached is a program with a space leak... I have coded a simple 'map' function, once using unsafePerformIO and once without. UnsafePerformIO has a space leak in some circumstances. In the main program I

Re: [Haskell-cafe] Space leak with unsafePerformIO

2010-06-30 Thread Yitzchak Gale
Henning Thielemann wrote on Haskell Cafe: Attached is a program with a space leak... I have coded a simple 'map' function, once using unsafePerformIO and once without. UnsafePerformIO has a space leak in some circumstances. In the main program I demonstrate cases with and without space leak.