RE: Rules for use of unsafeThaw...

2005-11-04 Thread Simon Marlow
On 03 November 2005 17:08, Jan-Willem Maessen wrote: > I've recently been experimenting with unsafeFreeze/unsafeThaw in > GHC. Judicious use of these functions vastly reduces GC overhead in > Data.HashTable. However, a slightly mis-timed GC will cause the > whole mess to crash. I am attempting

RE: Silly IO problem

2005-11-04 Thread Simon Marlow
On 03 November 2005 12:57, skaller wrote: > On Thu, 2005-11-03 at 09:49 +0100, Mirko Rahn wrote: >>> It prints n, rather than tak(3n,2n,n). >> >> ??? No: >> >> *Main> :set args 0 >> *Main> main >> 0.0 >> *Main> :set args 1 >> *Main> main >> 2.0 >> *Main> :set args 2 >> *Main> main >> 3.0 >> *Mai