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.
unsafeLastM :: (Monad m, Source r e) => Vector r e -> m emassiv Data.Massiv.Array.Unsafe No documentation available.
lastM :: (Source r e, MonadThrow m) => Vector r e -> m emassiv 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"
-
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.
BlockedIndefinitelyOnSTM :: BlockedIndefinitelyOnSTMprotolude Protolude No documentation available.
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.
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.
-
protolude Protolude.Safe No documentation available.
dsDoStmts :: DsMonad q => Maybe ModName -> [Stmt] -> q DExpth-desugar Language.Haskell.TH.Desugar Desugar the Stmts in a do expression
extractBoundNamesStmt :: Stmt -> OSet Nameth-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.
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.