[Haskell-cafe] Monad Imparative Usage Example

Bulat Ziganshin bulat.ziganshin at gmail.com
Wed Aug 2 10:11:47 EDT 2006

Hello Kaveh,

Wednesday, August 2, 2006, 1:56:10 PM, you wrote:

> Question : Could anyone show me a sample of using a monad as a
> statefull variable?

monad is not an "stateful variable", it's the way to organize
computations, rule to join them (as the Ring of Supreme Power ;) ).
i recommend you to read http://haskell.org/haskellwiki/IO_inside and
"all about monads" tutorials

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list