Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
forwardOptions :: ShakeOptions -> ShakeOptionsshake-plus Development.Shake.Plus.Forward Given a ShakeOptions, set the options necessary to execute in forward mode.
forwardRule :: (MonadReader r m, MonadRules m) => RAction r () -> m ()shake-plus Development.Shake.Plus.Forward Lifted version of forwardRule using RAction.
forceAllWords :: ExcerptConfiguration -> Boolsphinx Text.Search.Sphinx.ExcerptConfiguration No documentation available.
forceSwapTMVar :: TMVar a -> a -> STM (Maybe a)stm-extras Control.Concurrent.STM.TMVar.Extras Non-blocking swap of TMVar irreguardless if it previously contained a value or not. Returns what was in the TMVar (if exists)
formatted :: String -> Formatted a -> String -> Formatted atable-layout Text.Layout.Table.Cell.Formatted Create a formatted value with formatting directives that are applied to the whole value. The actual formatting has to be done by the backend.
fork :: Unexceptional m => UIO () -> m ThreadIdunexceptionalio-trans UnexceptionalIO.Trans Mirrors forkIO, but re-throws errors to the parent thread
- Ignores manual thread kills, since those are on purpose.
- Re-throws async exceptions (SomeAsyncException) as is.
- Re-throws ExitCode as is in an attempt to exit with the requested code.
- Wraps synchronous PseudoException in async ChildThreadError.
forkFinally :: Unexceptional m => UIO a -> (Either PseudoException a -> UIO ()) -> m ThreadIdunexceptionalio-trans UnexceptionalIO.Trans Mirrors forkFinally, but since the body is UIO, the thread must terminate successfully or because of PseudoException
forM :: (Traversable t, Monad m) => t a -> (a -> m b) -> m (t b)verset Verset forM is mapM with its arguments flipped. For a version that ignores the results see forM_.
forM_ :: (Foldable t, Monad m) => t a -> (a -> m b) -> m ()verset Verset forM_ is mapM_ with its arguments flipped. For a version that doesn't ignore the results see forM. forM_ is just like for_, but specialised to monadic actions.
for_ :: (Foldable t, Applicative f) => t a -> (a -> f b) -> f ()verset Verset for_ is traverse_ with its arguments flipped. For a version that doesn't ignore the results see for. This is forM_ generalised to Applicative actions. for_ is just like forM_, but generalised to Applicative actions.
Examples
Basic usage:>>> for_ [1..4] print 1 2 3 4