Portability | non-portable (uses Control.Monad.ST) |
---|---|
Stability | experimental |
Maintainer | mainland@eecs.harvard.edu |
Mutable references in the (strict) ST monad.
Documentation
class Monad m => MonadRef r m | m -> r whereSource
The MonadRef
type class abstracts over the details of manipulating
references, allowing one to write code that uses references and can operate
in either the ST monad or the IO monad.