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.

  1. forwardOptions :: ShakeOptions -> ShakeOptions

    shake-plus Development.Shake.Plus.Forward

    Given a ShakeOptions, set the options necessary to execute in forward mode.

  2. forwardRule :: (MonadReader r m, MonadRules m) => RAction r () -> m ()

    shake-plus Development.Shake.Plus.Forward

    Lifted version of forwardRule using RAction.

  3. forceAllWords :: ExcerptConfiguration -> Bool

    sphinx Text.Search.Sphinx.ExcerptConfiguration

    No documentation available.

  4. 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)

  5. formatted :: String -> Formatted a -> String -> Formatted a

    table-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.

  6. fork :: Unexceptional m => UIO () -> m ThreadId

    unexceptionalio-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.

  7. forkFinally :: Unexceptional m => UIO a -> (Either PseudoException a -> UIO ()) -> m ThreadId

    unexceptionalio-trans UnexceptionalIO.Trans

    Mirrors forkFinally, but since the body is UIO, the thread must terminate successfully or because of PseudoException

  8. 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_.

  9. 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.

  10. 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
    

Page 244 of many | Previous | Next