
17 Feb
2006
17 Feb
'06
8:42 a.m.
You can access IO values only from within do blocks (see any tutorial, previous posts or google). It looks like this then: do= myvalue <- functionwhichreturnsIOValue dosomethingwith myvalue Due to monads you don't have to leave the IO monad this way. Oh. Have to go now. do is translated into >>= syntax, see do expansion. Hope this did help else wait for another longer answer ;-) Marc