Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

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

  1. mapExceptionM :: (Exception e1, Exception e2, MonadUnliftIO m) => (e1 -> e2) -> m a -> m a

    classy-prelude-yesod ClassyPrelude.Yesod

    Same as mapException, except works in a monadic context.

  2. mapFromList :: IsMap map => [(ContainerKey map, MapValue map)] -> map

    classy-prelude-yesod ClassyPrelude.Yesod

    Convert a list of key-value pairs to a map

  3. mapInput :: forall (m :: Type -> Type) i1 i2 o r . Monad m => (i1 -> i2) -> (i2 -> Maybe i1) -> ConduitT i2 o m r -> ConduitT i1 o m r

    classy-prelude-yesod ClassyPrelude.Yesod

    Apply a function to all the input values of a ConduitT. Since 0.5.0

  4. mapInputM :: Monad m => (i1 -> m i2) -> (i2 -> m (Maybe i1)) -> ConduitT i2 o m r -> ConduitT i1 o m r

    classy-prelude-yesod ClassyPrelude.Yesod

    Apply a monadic action to all the input values of a ConduitT. Since 1.3.2

  5. mapKeysWith :: (BiPolyMap map, BPMKeyConstraint map k1, BPMKeyConstraint map k2) => (v -> v -> v) -> (k1 -> k2) -> map k1 v -> map k2 v

    classy-prelude-yesod ClassyPrelude.Yesod

    No documentation available.

  6. mapM :: (Traversable t, Monad m) => (a -> m b) -> t a -> m (t b)

    classy-prelude-yesod ClassyPrelude.Yesod

    Map each element of a structure to a monadic action, evaluate these actions from left to right, and collect the results. For a version that ignores the results see mapM_.

    Examples

    mapM is literally a traverse with a type signature restricted to Monad. Its implementation may be more efficient due to additional power of Monad.

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

    classy-prelude-yesod ClassyPrelude.Yesod

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

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

    classy-prelude-yesod ClassyPrelude.Yesod

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

  9. mapM_ :: (MonoFoldable mono, Applicative m) => (Element mono -> m ()) -> mono -> m ()

    classy-prelude-yesod ClassyPrelude.Yesod

    Synonym for omapM_

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

    classy-prelude-yesod ClassyPrelude.Yesod

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

Page 377 of many | Previous | Next