Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- modifyReadTVar ∷ TVar a → (a → a) → STM a
- modifyReadTVar' ∷ TVar a → (a → a) → STM a
- modifyReadTVarIO ∷ TVar a → (a → a) → IO a
- modifyReadTVarIO' ∷ TVar a → (a → a) → IO a
Documentation
modifyReadTVar ∷ TVar a → (a → a) → STM a Source #
Mutate the contents of a TVar and return the new value of the TVar (non-strict).
modifyReadTVar' ∷ TVar a → (a → a) → STM a Source #
Mutate the contents of a TVar and return the new value of the TVar (strict).
modifyReadTVarIO ∷ TVar a → (a → a) → IO a Source #
Mutate the contents of a TVar and return the new value of the TVar (non-strict).
modifyReadTVarIO' ∷ TVar a → (a → a) → IO a Source #
Mutate the contents of a TVar and return the new value of the TVar (strict).