
Bulat Ziganshin wrote:
Hello Brian,
Sunday, May 28, 2006, 1:06:06 AM, you wrote:
how best to understand IO but certainly before trying to do so, a state monad is *infinitely* easier to understand and then provides a good basis for understanding IO)
The first monad I understood was the state monad on page 261 of Paul Hudak's
i can also point to paper: http://research.microsoft.com/users/simonpj/Papers/state-lasc.ps.gz and it's reduced variant: http://research.microsoft.com/users/simonpj/Papers/lazy-functional-state-thr...
there's also well-known http://www.nomaware.com/monads/monad_tutorial.zip
Hi Bulat, Thanks for the links. I'm glad to see these are now also linked from the wiki at http://www.haskell.org/haskellwiki/Books_and_tutorials#Using_Monads and http://www.haskell.org/haskellwiki/Research_papers/Monads_and_arrows Best regards, Brian. -- Logic empowers us and Love gives us purpose. But societal laws, and religious dogma, empower the dead, to destroy us. http://www.metamilk.com