on master help sign in
Expose some missing functions from Internal.Data.Fold
commit108af635669c33e675f1dd95ddda0f0654aa86d6 authorHarendra Kumar <harendra@composewell.com> dateSun 5 Feb 2023, 05:44 (4 years ago) parent81bfdec
1 file changed+8
core/src/Streamly/Internal/Data/Fold.hs+8
core/src/Streamly/Internal/Data/Fold.hs+8
@@ -83,6 +83,8 @@ module Streamly.Internal.Data.Fold
8383 -- $toListRev
8484 , toStream
8585 , toStreamRev
86+ , toStreamK
87+ , toStreamKRev
8688 , topBy
8789 , top
8890 , bottomBy
@@ -115,6 +117,7 @@ module Streamly.Internal.Data.Fold
115117 -- | Folds that return a result without consuming any input.
116118 , fromPure
117119 , fromEffect
120+ , fromRefold
118121
119122 -- *** Singleton folds
120123 -- | Folds that terminate after consuming exactly one input element. All
@@ -162,6 +165,7 @@ module Streamly.Internal.Data.Fold
162165 -- * Building Incrementally
163166 , extractM
164167 , reduce
168+ , close
165169 , isClosed
166170 , snoc
167171 , snocl
@@ -278,14 +282,18 @@ module Streamly.Internal.Data.Fold
278282
279283 -- ** Splitting
280284 , many
285+ , manyPost
281286 , chunksOf
282287 , chunksBetween
288+ , refoldMany
289+ , refoldMany1
283290
284291 -- ** Nesting
285292 , unfoldMany
286293 , concatSequence
287294 , concatMap
288295 , duplicate
296+ , refold
289297
290298 -- * Deprecated
291299 , foldr