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.
-
streamly-core Streamly.Internal.Data.Stream Split post any one of the given patterns. Unimplemented
unfoldMany :: forall (m :: Type -> Type) a b . Monad m => Unfold m a b -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream unfoldMany unfold stream uses unfold to map the input stream elements to streams and then flattens the generated streams into a single output stream. Like concatMap but uses an Unfold for stream generation. Unlike concatMap this can fuse the Unfold code with the inner loop and therefore provide many times better performance.
unfoldMany :: forall (m :: Type -> Type) a b . Monad m => Unfold m a b -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream unfoldMany unfold stream uses unfold to map the input stream elements to streams and then flattens the generated streams into a single output stream. Like concatMap but uses an Unfold for stream generation. Unlike concatMap this can fuse the Unfold code with the inner loop and therefore provide many times better performance.
foldMany :: forall (m :: Type -> Type) b c a . Monad m => Fold m b c -> Unfold m a b -> Unfold m a cstreamly-core Streamly.Internal.Data.Unfold Apply a fold multiple times on the output of an unfold. Pre-release
many :: forall (m :: Type -> Type) b c a . Monad m => Unfold m b c -> Unfold m a b -> Unfold m a cstreamly-core Streamly.Internal.Data.Unfold Apply the first unfold to each output element of the second unfold and flatten the output in a single stream.
>>> many u = Unfold.many2 (Unfold.lmap snd u)
-
streamly-core Streamly.Internal.Data.Unfold No documentation available.
-
streamly-core Streamly.Internal.Data.Unfold unfoldManyInterleave for documentation and notes. This is almost identical to unfoldManyInterleave in StreamD module. The many combinator is in fact manyAppend to be more explicit in naming. Internal
scanMany :: forall (m :: Type -> Type) b c a . Monad m => Fold m b c -> Unfold m a b -> Unfold m a cstreamly-core Streamly.Internal.Data.Unfold Scan the output of an Unfold to change it in a stateful manner. Once fold is done it will restart from its initial state.
>>> u = Unfold.scanMany (Fold.take 2 Fold.sum) Unfold.fromList >>> Unfold.fold Fold.toList u [1,2,3,4,5] [0,1,3,0,3,7,0,5]
Pre-releasecany :: (CFoldable f, Dom f a) => (a -> Bool) -> f a -> Boolsubcategories Control.Subcategory.Foldable No documentation available.
-
testing-feat Test.Feat.Enumerate No documentation available.