[Haskell-cafe] GHC, odd concurrency space leak

Bulat Ziganshin bulat.ziganshin at gmail.com
Sun Apr 18 03:19:54 EDT 2010


Hello Bertram,

Sunday, April 18, 2010, 3:36:31 AM, you wrote:

> This expands as

>     always a = a >> always a
>              = a >> a >> always a
>              = a >> a >> a >> always a
>             ...
> where each >> application is represented by a newly allocated object
> (or several, I have not looked at it in detail) on the heap.

why you think so? i always thought that >> in ghc just sequentially
executes statements, the RealWorld magic exists only at compile-time


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



More information about the Haskell-Cafe mailing list