Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

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

  1. forM_ :: (Foldable t, Monad m) => t a -> (a -> m b) -> m ()

    ghc-internal GHC.Internal.Data.Foldable

    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.

  2. for_ :: (Foldable t, Applicative f) => t a -> (a -> f b) -> f ()

    ghc-internal GHC.Internal.Data.Foldable

    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
    

  3. forAccumM :: (Monad m, Traversable t) => s -> t a -> (s -> a -> m (s, b)) -> m (s, t b)

    ghc-internal GHC.Internal.Data.Traversable

    forAccumM is mapAccumM with the arguments rearranged.

  4. forM :: (Traversable t, Monad m) => t a -> (a -> m b) -> m (t b)

    ghc-internal GHC.Internal.Data.Traversable

    forM is mapM with its arguments flipped. For a version that ignores the results see forM_.

  5. formatRealFloat :: RealFloat a => FFFormat -> Maybe Int -> a -> String

    ghc-internal GHC.Internal.Float

    No documentation available.

  6. formatRealFloatAlt :: RealFloat a => FFFormat -> Maybe Int -> Bool -> a -> String

    ghc-internal GHC.Internal.Float

    No documentation available.

  7. forConcurrently :: (Traversable t, MonadBaseControl IO m) => t a -> (a -> m b) -> m (t b)

    lifted-async Control.Concurrent.Async.Lifted

    Generalized version of forConcurrently.

  8. forConcurrently_ :: (Foldable t, MonadBaseControl IO m) => t a -> (a -> m b) -> m ()

    lifted-async Control.Concurrent.Async.Lifted

    Generalized version of forConcurrently_.

  9. forConcurrently :: (Traversable t, MonadBaseControl IO m, Forall (Pure m)) => t a -> (a -> m b) -> m (t b)

    lifted-async Control.Concurrent.Async.Lifted.Safe

    Generalized version of forConcurrently.

  10. forConcurrently_ :: (Foldable t, MonadBaseControl IO m, Forall (Pure m)) => t a -> (a -> m b) -> m ()

    lifted-async Control.Concurrent.Async.Lifted.Safe

    Generalized version of forConcurrently_.

Page 61 of many | Previous | Next