Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
classy-prelude-yesod ClassyPrelude.Yesod Consume a source with a strict accumulator, in a way piecewise defined by a controlling stream. The latter will be evaluated until it terminates.
>>> let f a s = liftM (:s) $ mapC (*a) =$ CL.take a >>> reverse $ runIdentity $ yieldMany [0..3] $$ mapAccumS f [] (yieldMany [1..]) [[],[1],[4,6],[12,15,18]] :: [[Int]]
-
classy-prelude-yesod ClassyPrelude.Yesod 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-yesod ClassyPrelude.Yesod Monadic mapAccumWhileC.
mapC :: forall (m :: Type -> Type) a b . Monad m => (a -> b) -> ConduitT a b m ()classy-prelude-yesod ClassyPrelude.Yesod Apply a transformation to all values in a stream.
-
classy-prelude-yesod ClassyPrelude.Yesod Apply a transformation to all elements in a chunked stream.
mapConcurrently :: (MonadUnliftIO m, Traversable t) => (a -> m b) -> t a -> m (t b)classy-prelude-yesod ClassyPrelude.Yesod Executes a Traversable container of items concurrently, it uses the Flat type internally.
mapConcurrently_ :: (MonadUnliftIO m, Foldable f) => (a -> m b) -> f a -> m ()classy-prelude-yesod ClassyPrelude.Yesod Executes a Traversable container of items concurrently, it uses the Flat type internally. This function ignores the results.
mapExceptionM :: (Exception e1, Exception e2, MonadUnliftIO m) => (e1 -> e2) -> m a -> m aclassy-prelude-yesod ClassyPrelude.Yesod Same as mapException, except works in a monadic context.
mapFromList :: IsMap map => [(ContainerKey map, MapValue map)] -> mapclassy-prelude-yesod ClassyPrelude.Yesod Convert a list of key-value pairs to a map
-
classy-prelude-yesod ClassyPrelude.Yesod Apply a function to all the input values of a ConduitT. Since 0.5.0