[Haskell-cafe] GHC, odd concurrency space leak

Bulat Ziganshin bulat.ziganshin at gmail.com
Sat Apr 17 16:36:17 EDT 2010


Hello Bertram,

Sunday, April 18, 2010, 12:11:05 AM, you wrote:

>     always a = -- let act = a >> act in act
>         do
>         _ <- a
>         always a
>     

> hinting at the real problem: 'always' actually creates a long chain of
> actions instead of tying the knot.

can you explain it deeper? it's what i see: always definition is
equivalent to

     always a = do a
                   always a

what's the same as

     always a = a >> always a

that looks exactly like your commented out definition, except that it
doesn't create value act. but i don't see list of actions here




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



More information about the Haskell-Cafe mailing list