@@ -202,7 +202,7 @@ module Streamly.Internal.Data.Fold.Types
202 , concatMap
202 , concatMap
204 , lsessionsOf
204 , lsessionsOf
205− , lchunksOf
205+ , chunksOf
206 , chunksOf2
206 , chunksOf2
208 , duplicate
208 , duplicate
@@ -861,19 +861,19 @@ many (Fold cstep cinitial cextract) (Fold sstep sinitial sextract) =
861 Partial s -> cextract s
861 Partial s -> cextract s
862 Done b -> return b
862 Done b -> return b
864−-- | @lchunksOf n split collect@ repeatedly applies the @split@ fold to chunks
864+-- | @chunksOf n split collect@ repeatedly applies the @split@ fold to chunks
865-- of @n@ items in the input stream and supplies the result to the @collect@
865-- of @n@ items in the input stream and supplies the result to the @collect@
868−-- > lchunksOf n split collect = many collect (takeLE n split)
868+-- > chunksOf n split collect = many collect (takeLE n split)
870-- Stops when @collect@ stops.
870-- Stops when @collect@ stops.
872-- /Internal/
872-- /Internal/
874−{-# INLINE lchunksOf #-}
874+{-# INLINE chunksOf #-}
875−lchunksOf :: Monad m => Int -> Fold m a b -> Fold m b c -> Fold m a c
875+chunksOf :: Monad m => Int -> Fold m a b -> Fold m b c -> Fold m a c
876−lchunksOf n split collect = many collect (takeLE n split)
876+chunksOf n split collect = many collect (takeLE n split)
878{-# INLINE chunksOf2 #-}
878{-# INLINE chunksOf2 #-}
879chunksOf2 :: Monad m => Int -> Fold m a b -> Fold2 m x b c -> Fold2 m x a c
879chunksOf2 :: Monad m => Int -> Fold m a b -> Fold2 m x b c -> Fold2 m x a c