Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
newTVarConc :: MonadConc m => a -> m (TVar (STM m) a)concurrency Control.Monad.Conc.Class Create a TVar. This may be implemented differently for speed.
newTVarConc = atomically . newTVar
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.
-
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.