[Haskell] ST vs State

Federico Squartini federico.squartini at googlemail.com
Wed May 30 04:54:35 EDT 2007


Hello dear Haskellers,

Could someone be kind and explain with some detail what are the
differences between the two monads:

Control.Monad.ST
And
Control.Monad.State
?

They are both meant to model stateful computation but they are not the
same monad. The first one represents state with in place update?

Regards,

Federico


More information about the Haskell mailing list