Is this a bug in multithreading code?
Fri, 25 Apr 2003 17:42:04 +0100
>> I conjecture that the problem would go away if you added
>> appropriate uses of seq or $! to your program so that the value
>> stored in the MVar was always fully evaluated
Nick Name <email@example.com>
> You are right, [...]
I further conjecture that more than half of all space leaks can be
identified not by profiling your code but by running the following
grep '+1' *.hs *.lhs
I'm half joking but I've found that this one is very common in certain
kinds of code.
Every now and then I think of extending Hugs with unpointed Ints which
would be identical in syntax and semantics to GHC's unboxed Ints but
would have a different representation.