Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. waitSTM :: Async a -> STM a

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

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

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

    massiv Data.Massiv.Array.Unsafe

    No documentation available.

  3. 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"
    

  4. 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.

  5. BlockedIndefinitelyOnSTM :: BlockedIndefinitelyOnSTM

    protolude Protolude

    No documentation available.

  6. threadWaitReadSTM :: Fd -> IO (STM (), IO ())

    protolude Protolude

    Returns an STM action that can be used to wait for data to read from a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  7. threadWaitWriteSTM :: Fd -> IO (STM (), IO ())

    protolude Protolude

    Returns an STM action that can be used to wait until data can be written to a file descriptor. The second returned value is an IO action that can be used to deregister interest in the file descriptor.

  8. lastMay :: [a] -> Maybe a

    protolude Protolude.Safe

    No documentation available.

  9. dsDoStmts :: DsMonad q => Maybe ModName -> [Stmt] -> q DExp

    th-desugar Language.Haskell.TH.Desugar

    Desugar the Stmts in a do expression

  10. extractBoundNamesStmt :: Stmt -> OSet Name

    th-desugar Language.Haskell.TH.Desugar

    Extract the names bound in a Stmt. This does not extract any type variables bound by pattern signatures, constructor patterns, or type patterns.

Page 58 of many | Previous | Next