Hoogle Search

Within LTS Haskell 24.25 (ghc-9.10.3)

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

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

    massiv Data.Massiv.Array.Unsafe

    No documentation available.

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

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

  4. BlockedIndefinitelyOnSTM :: BlockedIndefinitelyOnSTM

    protolude Protolude

    No documentation available.

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

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

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

    protolude Protolude.Safe

    No documentation available.

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

    th-desugar Language.Haskell.TH.Desugar

    Desugar the Stmts in a do expression

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

  10. module Test.Framework.TestManager

    This module defines function for running a set of tests. Furthermore, it provides functionality for organzing tests into a hierarchical structure. This functionality is mainly used internally in the code generated by the hftpp pre-processor.

Page 58 of many | Previous | Next