Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. waitSTM :: forall (m :: Type -> Type) a . MonadConc m => Async m a -> STM m a

    concurrency Control.Concurrent.Classy.Async

    A version of wait that can be used inside a MonadSTM transaction.

  2. data IsSTM (m :: Type -> Type) a

    concurrency Control.Monad.STM.Class

    A value of type IsSTM m a can only be constructed if m has a MonadSTM instance.

  3. class (MonadCatch stm, MonadPlus stm) => MonadSTM (stm :: Type -> Type)

    concurrency Control.Monad.STM.Class

    MonadSTM is an abstraction over STM. This class does not provide any way to run transactions, rather each MonadConc has an associated MonadSTM from which it can atomically run a transaction.

  4. catchSTM :: (MonadSTM stm, Exception e) => stm a -> (e -> stm a) -> stm a

    concurrency Control.Monad.STM.Class

    Handling exceptions from throwSTM.

  5. fromIsSTM :: MonadSTM m => IsSTM m a -> m a

    concurrency Control.Monad.STM.Class

    Unwrap an IsSTM value.

  6. throwSTM :: (MonadSTM stm, Exception e) => e -> stm a

    concurrency Control.Monad.STM.Class

    Throw an exception. This aborts the transaction and propagates the exception.

  7. toIsSTM :: MonadSTM m => m a -> IsSTM m a

    concurrency Control.Monad.STM.Class

    Wrap an m a value inside an IsSTM if m has a MonadSTM instance.

  8. bufferOutputSTM :: Outputable v => StdHandle -> v -> STM ()

    concurrent-output System.Console.Concurrent

    Adds a value to the output buffer for later display. Note that buffering large quantities of data this way will keep it resident in memory until it can be displayed. While outputConcurrent uses temp files if the buffer gets too big, this STM function cannot do so.

  9. outputBufferWaiterSTM :: (OutputBuffer -> (OutputBuffer, OutputBuffer)) -> STM (StdHandle, OutputBuffer)

    concurrent-output System.Console.Concurrent

    A STM action that waits for some buffered output to become available, and returns it. The function can select a subset of output when only some is desired; the fst part is returned and the snd is left in the buffer. This will prevent it from being displayed in the usual way, so you'll need to use emitOutputBuffer to display it yourself.

  10. bufferOutputSTM :: Outputable v => StdHandle -> v -> STM ()

    concurrent-output System.Console.Concurrent.Internal

    Adds a value to the output buffer for later display. Note that buffering large quantities of data this way will keep it resident in memory until it can be displayed. While outputConcurrent uses temp files if the buffer gets too big, this STM function cannot do so.

Page 100 of many | Previous | Next