Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. mapMOf :: LensLike (WrappedMonad m) s t a b -> (a -> m b) -> s -> m t

    lens Control.Lens.Traversal

    Map each element of a structure targeted by a Lens to a monadic action, evaluate these actions from left to right, and collect the results.

    >>> mapMOf both (\x -> [x, x + 1]) (1,3)
    [(1,3),(1,4),(2,3),(2,4)]
    
    mapM ≡ mapMOf traverse
    imapMOf l ≡ forM l . Indexed
    
    mapMOf :: Monad m => Iso s t a b       -> (a -> m b) -> s -> m t
    mapMOf :: Monad m => Lens s t a b      -> (a -> m b) -> s -> m t
    mapMOf :: Monad m => Traversal s t a b -> (a -> m b) -> s -> m t
    

  2. mapMC :: Monad m => (a -> m b) -> ConduitT a b m ()

    conduit Conduit

    Apply a monadic transformation to all values in a stream. If you do not need the transformed values, and instead just want the monadic side-effects of running the action, see mapM_.

  3. mapMCE :: (Monad m, Traversable f) => (a -> m b) -> ConduitT (f a) (f b) m ()

    conduit Conduit

    Apply a monadic transformation to all elements in a chunked stream.

  4. mapM_C :: Monad m => (a -> m ()) -> ConduitT a o m ()

    conduit Conduit

    Apply the action to all values in the stream. Note: if you want to pass the values instead of consuming them, use iterM instead.

  5. mapM_CE :: (Monad m, MonoFoldable mono) => (Element mono -> m ()) -> ConduitT mono o m ()

    conduit Conduit

    Apply the action to all elements in the chunked stream. Note: the same caveat as with mapM_C applies. If you don't want to consume the values, you can use iterM:

    iterM (omapM_ f)
    

  6. mapME :: (Monad m, Traversable f) => (a -> m b) -> ConduitT (f a) (f b) m ()

    conduit Data.Conduit.Combinators

    Apply a monadic transformation to all elements in a chunked stream. Subject to fusion

  7. mapM_ :: Monad m => (a -> m ()) -> ConduitT a o m ()

    conduit Data.Conduit.Combinators

    Apply the action to all values in the stream. Note: if you want to pass the values instead of consuming them, use iterM instead. Subject to fusion

  8. mapM_E :: (Monad m, MonoFoldable mono) => (Element mono -> m ()) -> ConduitT mono o m ()

    conduit Data.Conduit.Combinators

    Apply the action to all elements in the chunked stream. Note: the same caveat as with mapM_ applies. If you don't want to consume the values, you can use iterM:

    iterM (omapM_ f)
    
    Subject to fusion

  9. mapMS :: Monad m => (a -> m b) -> StreamConduit a m b

    conduit Data.Conduit.Internal.List.Stream

    No documentation available.

  10. mapM_S :: Monad m => (a -> m ()) -> StreamConsumer a m ()

    conduit Data.Conduit.Internal.List.Stream

    No documentation available.

Page 12 of many | Previous | Next