Hoogle Search

Within LTS Haskell 22.24 (ghc-9.6.5)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. tvarsRead :: ThreadAction -> Set TVarId

    dejafu Test.DejaFu.Internal

    Get the TVars a transaction read from.

  2. tvarsWritten :: ThreadAction -> Set TVarId

    dejafu Test.DejaFu.Internal

    Get the TVars a transaction wrote to (or would have, if it didn't retry).

  3. tVarPrimTyConKey :: Unique

    breakpoint Debug.Breakpoint.GhcFacade

    No documentation available.

  4. newTVar :: a -> STM (TVar a)

    base GHC.Conc

    Create a new TVar holding a value supplied

  5. newTVarIO :: a -> IO (TVar a)

    base GHC.Conc

    IO version of newTVar. This is useful for creating top-level TVars using unsafePerformIO, because using atomically inside unsafePerformIO isn't possible.

  6. readTVar :: TVar a -> STM a

    base GHC.Conc

    Return the current value stored in a TVar.

  7. readTVarIO :: TVar a -> IO a

    base GHC.Conc

    Return the current value stored in a TVar. This is equivalent to

    readTVarIO = atomically . readTVar
    
    but works much faster, because it doesn't perform a complete transaction, it just reads the current value of the TVar.

  8. writeTVar :: TVar a -> a -> STM ()

    base GHC.Conc

    Write the supplied value into a TVar.

  9. newTVar :: a -> STM (TVar a)

    base GHC.Conc.Sync

    Create a new TVar holding a value supplied

  10. newTVarIO :: a -> IO (TVar a)

    base GHC.Conc.Sync

    IO version of newTVar. This is useful for creating top-level TVars using unsafePerformIO, because using atomically inside unsafePerformIO isn't possible.

Page 5 of many | Previous | Next