Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- newTVarIO :: MonadIO m => a -> m (TVar a)
- readTVarIO :: MonadIO m => TVar a -> m a
- writeTVarIO :: MonadIO m => TVar a -> a -> m ()
- modifyTVarIO :: MonadIO m => TVar a -> (a -> a) -> m ()
- modifyTVarIO' :: MonadIO m => TVar a -> (a -> a) -> m ()
- swapTVarIO :: MonadIO m => TVar a -> a -> m a
Documentation
readTVarIO :: MonadIO m => TVar a -> m a Source #
writeTVarIO :: MonadIO m => TVar a -> a -> m () Source #
modifyTVarIO :: MonadIO m => TVar a -> (a -> a) -> m () Source #
Non-strict version
modifyTVarIO' :: MonadIO m => TVar a -> (a -> a) -> m () Source #
Strict version
swapTVarIO :: MonadIO m => TVar a -> a -> m a Source #