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.
inspectTVar :: forall (n :: Type -> Type) a . ModelTVar n a -> Invariant n adejafu Test.DejaFu.Conc Read the content of a TVar. This is essentially readTVar.
IInspectTVar :: ModelTVar n a -> (a -> IAction n) -> IAction (n :: Type -> Type)dejafu Test.DejaFu.Conc.Internal.Common No documentation available.
data
ModelTVar (n :: Type -> Type) adejafu Test.DejaFu.Conc.Internal.STM A TVar is modelled as a unique ID and a reference holding a value.
ModelTVar :: TVarId -> Ref n a -> ModelTVar (n :: Type -> Type) adejafu Test.DejaFu.Conc.Internal.STM No documentation available.
OnTVar :: [TVarId] -> BlockedOndejafu Test.DejaFu.Conc.Internal.Threading No documentation available.
-
effectful Effectful.Concurrent.STM Lifted mkWeakTVar. Note: the finalizer will run a cloned environment, so any changes it makes to thread local data will not be visible outside of it.
modifyTVar :: TVar a -> (a -> a) -> STM ()effectful Effectful.Concurrent.STM Mutate the contents of a TVar. N.B., this version is non-strict.
modifyTVar' :: TVar a -> (a -> a) -> STM ()effectful Effectful.Concurrent.STM Strict version of modifyTVar.
-
effectful Effectful.Concurrent.STM Create a new TVar holding a value supplied
-
effectful Effectful.Concurrent.STM Return the current value stored in a TVar.