[Haskell-cafe] simple state monad exercises? (besides labeling trees)

Matthias Görgens matthias.goergens at googlemail.com
Mon Jul 6 14:31:52 EDT 2009

> Can someone give some simple common scenarios where the state monad is
> useful, besides labeling trees?

Emulating the VM given in this years ICFP programming contest was also
a good application of the state monad.  Of course you interprate much
simpler language imperative languages, too.  (However that might feel
a bit forced as an exercise.)

More information about the Haskell-Cafe mailing list