Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
classy-prelude-conduit ClassyPrelude.Conduit mapWhileC with a break condition dependent on a strict accumulator. Equivalently, mapAccum as long as the result is Right. Instead of producing a leftover, the breaking input determines the resulting accumulator via Left.
mapAccumWhileMC :: Monad m => (a -> s -> m (Either s (s, b))) -> s -> ConduitT a b m sclassy-prelude-conduit ClassyPrelude.Conduit Monadic mapAccumWhileC.
mapC :: forall (m :: Type -> Type) a b . Monad m => (a -> b) -> ConduitT a b m ()classy-prelude-conduit ClassyPrelude.Conduit Apply a transformation to all values in a stream.
-
classy-prelude-conduit ClassyPrelude.Conduit Apply a transformation to all elements in a chunked stream.
-
classy-prelude-conduit ClassyPrelude.Conduit Apply a function to all the input values of a ConduitT. Since 0.5.0
-
classy-prelude-conduit ClassyPrelude.Conduit Apply a monadic action to all the input values of a ConduitT. Since 1.3.2
mapMC :: Monad m => (a -> m b) -> ConduitT a b m ()classy-prelude-conduit ClassyPrelude.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_.
mapMCE :: (Monad m, Traversable f) => (a -> m b) -> ConduitT (f a) (f b) m ()classy-prelude-conduit ClassyPrelude.Conduit Apply a monadic transformation to all elements in a chunked stream.
mapM_C :: Monad m => (a -> m ()) -> ConduitT a o m ()classy-prelude-conduit ClassyPrelude.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.
mapM_CE :: (Monad m, MonoFoldable mono) => (Element mono -> m ()) -> ConduitT mono o m ()classy-prelude-conduit ClassyPrelude.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)