Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. smap :: (Structured r1 a b, Shape sh) => (a -> b) -> Array r1 sh a -> Array (TR r1) sh b

    repa Data.Array.Repa.Operators.Mapping

    Structured map.

  2. package semaphore-compat

    Cross-platform abstraction for system semaphores This package provides a cross-platform implementation of system semaphores that abstracts over the unix and Win32 libraries.

  3. module System.Semaphore

    No documentation available.

  4. data Semaphore

    semaphore-compat System.Semaphore

    A system semaphore (POSIX or Win32).

  5. Semaphore :: SemaphoreName -> Semaphore -> Semaphore

    semaphore-compat System.Semaphore

    No documentation available.

  6. newtype SemaphoreName

    semaphore-compat System.Semaphore

    No documentation available.

  7. SemaphoreName :: String -> SemaphoreName

    semaphore-compat System.Semaphore

    No documentation available.

  8. createSemaphore :: SemaphoreName -> Int -> IO Semaphore

    semaphore-compat System.Semaphore

    Create a new semaphore with the given name and initial amount of available resources. Throws an error if a semaphore by this name already exists.

  9. destroySemaphore :: Semaphore -> IO ()

    semaphore-compat System.Semaphore

    Destroy the given semaphore.

  10. forkWaitOnSemaphoreInterruptible :: Semaphore -> (Either SomeException Bool -> IO ()) -> IO WaitId

    semaphore-compat System.Semaphore

    Spawn a thread that waits on the given semaphore. In this thread, asynchronous exceptions will be masked. The waiting operation can be interrupted using the interruptWaitOnSemaphore function. This implements a similar pattern to the forkFinally function.

Page 998 of many | Previous | Next