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.
-
clash-prelude Clash.XException a variant of deepseqX that is useful in some circumstances:
forceX x = x `deepseqX` x
formatEvalHistogram :: Map Eval Int -> Stringcombinatorial Combinatorics.Mastermind No documentation available.
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
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_.
fork :: MonadConc m => m () -> m (ThreadId m)concurrency Control.Monad.Conc.Class Fork a computation to happen concurrently. Communication may happen over MVars.
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.
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.
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.
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.
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 ""