[Haskell-cafe] Monads (was "how to write an interactive program ?
gui library to use ?")
jupdike at gmail.com
Sat Feb 25 14:24:56 EST 2006
(Note, moved to haskell-cafe.)
> Essentially, the answer is "yes", the state needs to be passed around
> (neglecting hackery to simulate global variables that is better
> avoided). However, this can be made convenient by using a monad.
BTW, Minh, If you don't know what monads are, then read this. Monads
are an indispensable part of programming in Haskell:
Monads are good. Monads are your friend.
More information about the Haskell-Cafe