| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Control.Concurrent.STM.Lifted
Synopsis
- data STM a
- atomically :: MonadIO m => STM a -> m a
- module Control.Concurrent.STM.TVar.Lifted
- module Control.Concurrent.STM.TChan.Lifted
- module Control.Concurrent.STM.TMVar.Lifted
- module Control.Concurrent.STM.TQueue.Lifted
- module Control.Concurrent.STM.TBQueue.Lifted
Documentation
A monad supporting atomic memory transactions.
Instances
| Monad STM | Since: base-4.3.0.0 |
| Functor STM | Since: base-4.3.0.0 |
| Applicative STM | Since: base-4.8.0.0 |
| Alternative STM | Since: base-4.8.0.0 |
| MonadPlus STM | Since: base-4.3.0.0 |
atomically :: MonadIO m => STM a -> m a Source #