Hoogle Search
Within LTS Haskell 24.18 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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#
-
gi-gtk3 GI.Gtk.Objects.CellRendererText Construct a GValueConstruct with valid value for the “variant” property. This is rarely needed directly, but it is used by new.