Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
readTVarConc :: MonadConc m => TVar (STM m) a -> m aconcurrency Control.Monad.Conc.Class Read the current value stored in a TVar. This may be implemented differently for speed.
readTVarConc = atomically . readTVar
newTVar :: MonadSTM stm => a -> stm (TVar stm a)concurrency Control.Monad.STM.Class Create a new TVar containing the given value.
newTVar = newTVarN ""
newTVarN :: MonadSTM stm => String -> a -> stm (TVar stm a)concurrency Control.Monad.STM.Class Create a new TVar containing the given value, but it is given a name which may be used to present more useful debugging information. If an empty name is given, a counter starting from 0 is used. If names conflict, successive TVars with the same name are given a numeric suffix, counting up from 1.
newTVarN _ = newTVar
readTVar :: MonadSTM stm => TVar stm a -> stm aconcurrency Control.Monad.STM.Class Return the current value stored in a TVar.
writeTVar :: MonadSTM stm => TVar stm a -> a -> stm ()concurrency Control.Monad.STM.Class Write the supplied value into the TVar.
-
elm-bridge Elm.TyRep Type variable:
ETVar "a"
-
elm-bridge Elm.TyRep No documentation available.
-
envparse Env.Internal.Parser No documentation available.
MutVarClosure :: StgInfoTable -> b -> GenClosure bghc-heap GHC.Exts.Heap A MutVar#
MutVarClosure :: StgInfoTable -> b -> GenClosure bghc-heap GHC.Exts.Heap.Closures A MutVar#