Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. waitBothSTM :: Async a -> Async b -> STM (a, b)

    lifted-async Control.Concurrent.Async.Lifted.Safe

    A version of waitBoth that can be used inside an STM transaction.

  2. waitCatchSTM :: Async a -> STM (Either SomeException a)

    lifted-async Control.Concurrent.Async.Lifted.Safe

    A version of waitCatch that can be used inside an STM transaction.

  3. waitEitherCatchSTM :: Async a -> Async b -> STM (Either (Either SomeException a) (Either SomeException b))

    lifted-async Control.Concurrent.Async.Lifted.Safe

    A version of waitEitherCatch that can be used inside an STM transaction.

  4. waitEitherSTM :: Async a -> Async b -> STM (Either a b)

    lifted-async Control.Concurrent.Async.Lifted.Safe

    A version of waitEither that can be used inside an STM transaction.

  5. waitEitherSTM_ :: Async a -> Async b -> STM ()

    lifted-async Control.Concurrent.Async.Lifted.Safe

    A version of waitEither_ that can be used inside an STM transaction.

  6. waitSTM :: Async a -> STM a

    lifted-async Control.Concurrent.Async.Lifted.Safe

    A version of wait that can be used inside an STM transaction.

  7. unsafeLastM :: (Monad m, Source r e) => Vector r e -> m e

    massiv Data.Massiv.Array.Unsafe

    No documentation available.

  8. lastM :: (Source r e, MonadThrow m) => Vector r e -> m e

    massiv Data.Massiv.Vector

    O(1) - Get the last element of a Source vector. Related: last', unsnocM Throws Exceptions: SizeEmptyException

    Examples

    >>> lastM (Ix1 10 ... 10000000000000)
    10000000000000
    
    >>> lastM (Ix1 10 ... 10000000000000) :: Maybe Int
    Just 10000000000000
    
    >>> either show (const "") $ lastM (fromList Seq [] :: Array P Ix1 Int)
    "SizeEmptyException: (Sz1 0) corresponds to an empty array"
    

  9. data BlockedIndefinitelyOnSTM

    protolude Protolude

    The thread is waiting to retry an STM transaction, but there are no other references to any TVars involved, so it can't ever continue.

  10. BlockedIndefinitelyOnSTM :: BlockedIndefinitelyOnSTM

    protolude Protolude

    No documentation available.

Page 56 of many | Previous | Next