Hoogle Search

Within LTS Haskell 24.48 (ghc-9.10.3)

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

  1. forceX :: NFDataX a => a -> a

    clash-prelude Clash.XException

    a variant of deepseqX that is useful in some circumstances:

    forceX x = x `deepseqX` x
    

  2. formatEvalHistogram :: Map Eval Int -> String

    combinatorial Combinatorics.Mastermind

    No documentation available.

  3. forConcurrently :: (Traversable t, MonadConc m) => t a -> (a -> m b) -> m (t b)

    concurrency Control.Concurrent.Classy.Async

    forConcurrently is mapConcurrently with its arguments flipped

    pages <- forConcurrently ["url1", "url2", "url3"] $ \url -> getURL url
    

  4. forConcurrently_ :: (Foldable f, MonadConc m) => f a -> (a -> m b) -> m ()

    concurrency Control.Concurrent.Classy.Async

    forConcurrently_ is forConcurrently with the return value discarded, just like forM_.

  5. fork :: MonadConc m => m () -> m (ThreadId m)

    concurrency Control.Monad.Conc.Class

    Fork a computation to happen concurrently. Communication may happen over MVars.

  6. forkFinally :: MonadConc m => m a -> (Either SomeException a -> m ()) -> m (ThreadId m)

    concurrency Control.Monad.Conc.Class

    Fork a thread and call the supplied function when the thread is about to terminate, with an exception or a returned value. The function is called with asynchronous exceptions masked. This function is useful for informing the parent when a child terminates, for example.

  7. forkN :: MonadConc m => String -> m () -> m (ThreadId m)

    concurrency Control.Monad.Conc.Class

    Like fork, but the thread is given a name which may be used to present more useful debugging information.

  8. forkOS :: MonadConc m => m () -> m (ThreadId m)

    concurrency Control.Monad.Conc.Class

    Fork a computation to happen in a bound thread, which is necessary if you need to call foreign (non-Haskell) libraries that make use of thread-local state, such as OpenGL.

  9. forkOSN :: MonadConc m => String -> m () -> m (ThreadId m)

    concurrency Control.Monad.Conc.Class

    Like forkOS, but the thread is given a name which may be used to present more useful debugging information.

  10. forkOSWithUnmask :: MonadConc m => ((forall a . () => m a -> m a) -> m ()) -> m (ThreadId m)

    concurrency Control.Monad.Conc.Class

    Like forkOS, but the child thread is passed a function that can be used to unmask asynchronous exceptions. This function should not be used within a mask or uninterruptibleMask.

    forkOSWithUnmask = forkOSWithUnmaskN ""
    

Page 135 of many | Previous | Next