[Haskell-cafe] Re: Guess what ... Tutorial uploaded! :)
dastapov at gmail.com
Tue Jan 24 15:28:51 EST 2006
Ben Rudiak-Gould <Benjamin.Rudiak-Gould at cl.cam.ac.uk> 00:46 24/1/2006 wrote:
BR> Dmitry Astapov wrote:
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,
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
Dmitry Astapov //ADEpt
GPG KeyID/fprint: F5D7639D/CA36 E6C4 815D 434D 0498 2B08 7867 4860 F5D7 639D
More information about the Haskell-Cafe