Evening, Ben. 

Ben Rudiak-Gould <[EMAIL PROTECTED]> 00:46 24/1/2006 wrote:

 BR> Dmitry Astapov wrote:
>> http://www.haskell.org/hawiki/HitchhickersGuideToTheHaskell

 BR> I like the approach too, but the section on IO actions, which I'm
 BR> reading now, is not correct. It's not true that "a <- someAction"
 BR> has the effect of associating a with someAction, with the actual
 BR> work deferred until later.

Ahem.. I got a "little" carried away on the topic of getContents,
apparently :(


 BR> All of the IO associated with someAction happens at the program
 BR> point where "a <- someAction" appears, whether or not it's needed
 BR> later. getContents is a rare exception to this rule.

But of course. Now I'll have to think how to back out of the mess I
created :)

-- 
Dmitry Astapov //ADEpt
GPG KeyID/fprint: F5D7639D/CA36 E6C4 815D 434D 0498  2B08 7867 4860 F5D7 639D

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to