Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mutVarToIORef :: MutVar RealWorld a -> IORef aclassy-prelude-yesod ClassyPrelude.Yesod mutVarToSTRef :: MutVar s a -> STRef s aclassy-prelude-yesod ClassyPrelude.Yesod newMutVar :: PrimMonad m => a -> m (MutVar (PrimState m) a)classy-prelude-yesod ClassyPrelude.Yesod Create a new MutVar with the specified initial value.
-
classy-prelude-yesod ClassyPrelude.Yesod Create a new TVar holding a value supplied
newTVarIO :: MonadIO m => a -> m (TVar a)classy-prelude-yesod ClassyPrelude.Yesod Lifted version of newTVarIO
readMutVar :: PrimMonad m => MutVar (PrimState m) a -> m aclassy-prelude-yesod ClassyPrelude.Yesod Read the value of a MutVar.
-
classy-prelude-yesod ClassyPrelude.Yesod Return the current value stored in a TVar.
readTVarIO :: MonadIO m => TVar a -> m aclassy-prelude-yesod ClassyPrelude.Yesod Lifted version of readTVarIO
stateTVar :: TVar s -> (s -> (a, s)) -> STM aclassy-prelude-yesod ClassyPrelude.Yesod Like modifyTVar' but the function is a simple state transition that can return a side value which is passed on as the result of the STM.
swapTVar :: TVar a -> a -> STM aclassy-prelude-yesod ClassyPrelude.Yesod Swap the contents of a TVar for a new value.