| Copyright | (c) Adam C. Foltzer 2013 |
|---|---|
| License | BSD3 |
| Maintainer | acfoltzer@gmail.com |
| Stability | experimental |
| Portability | non-portable (requires rank-2 types for runST) |
| Safe Haskell | None |
| Language | Haskell98 |
Control.Monad.ST.Persistent
Description
The Persistent ST Monad
runST :: (forall s. ST s a) -> a #
Run a computation that uses persistent references, and return a
pure value. The rank-2 type offers similar guarantees to
runST.
The Persistent ST Monad transformer
Instances
| MonadTrans (STT s) # | |
Defined in Control.Monad.ST.Persistent.Internal | |
| Monad m => MonadRef (STRef s) (STT s m) # | |
| Monad m => Monad (STT s m) # | |
| Functor m => Functor (STT s m) # | |
| Monad m => Applicative (STT s m) # | |
| MonadIO m => MonadIO (STT s m) # | |
Defined in Control.Monad.ST.Persistent.Internal | |
| MonadPlus m => Alternative (STT s m) # | |
| MonadPlus m => MonadPlus (STT s m) # | |