Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. readChan :: MonadConc m => Chan m a -> m a

    concurrency Control.Concurrent.Classy.Chan

    Read the next value from the Chan.

  2. readIORef :: MonadConc m => IORef m a -> m a

    concurrency Control.Concurrent.Classy.IORef

    Read the current value stored in a reference.

    readIORef ioref = readForCAS ioref >>= peekTicket
    

  3. readMVar :: MonadConc m => MVar m a -> m a

    concurrency Control.Concurrent.Classy.MVar

    Block until a value is present in the MVar, and then return it. This does not "remove" the value, multiple reads are possible.

  4. readTBQueue :: MonadSTM stm => TBQueue stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TBQueue

    Read the next value from the TBQueue.

  5. readTChan :: MonadSTM stm => TChan stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TChan

    Read the next value from the TChan.

  6. readTMVar :: MonadSTM stm => TMVar stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TMVar

    Read from a TMVar without emptying, or retry if it is empty.

  7. readTQueue :: MonadSTM stm => TQueue stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TQueue

    Read the next value from the TQueue.

  8. readTVar :: MonadSTM stm => TVar stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TVar

    Return the current value stored in a TVar.

  9. readTVarConc :: MonadConc m => TVar (STM m) a -> m a

    concurrency Control.Concurrent.Classy.STM.TVar

    Read the current value stored in a TVar. This may be implemented differently for speed.

    readTVarConc = atomically . readTVar
    

  10. readForCAS :: MonadConc m => IORef m a -> m (Ticket m a)

    concurrency Control.Monad.Conc.Class

    Read the current value stored in a reference, returning a Ticket, for use in future compare-and-swap operations.

Page 249 of many | Previous | Next