on master help sign in
Make minor changes to haddock comments
commitdb6fd11fc8a11ad5293d7840db85c382be3d7cf3 authorHarendra Kumar <harendra@composewell.com> dateThu 4 Nov 2021, 00:03 (5 years ago) parentacf60e7
2 files changed+4−3
src/Streamly/Internal/Data/Fold/Type.hs+1−1 src/Streamly/Internal/Data/Stream/StreamD/Type.hs+3−2
src/Streamly/Internal/Data/Fold/Type.hs+1−1
@@ -1408,7 +1408,7 @@ refoldMany1 (Refold sstep sinject sextract) (Fold cstep cinitial cextract) =
14081408 Partial s -> cextract s
14091409 Done b -> return b
14101410
1411−-- | Extract the output of a fold and refold is using a 'Refold'.
1411+-- | Extract the output of a fold and refold it using a 'Refold'.
14121412--
14131413-- /Internal/
14141414{-# INLINE refold #-}
src/Streamly/Internal/Data/Stream/StreamD/Type.hs+3−2
@@ -947,9 +947,10 @@ foldMany (Fold fstep initial extract) (Stream step state) =
947947chunksOf :: Monad m => Int -> Fold m a b -> Stream m a -> Stream m b
948948chunksOf n f = foldMany (FL.take n f)
949949
950−-- Keep the argument order consistent with consumeIterateM
950+-- Keep the argument order consistent with consumeIterateM.
951951--
952−-- | Like 'foldMany' but for the 'Refold' type.
952+-- | Like 'foldMany' but for the 'Refold' type. The supplied action is used as
953+-- the initial value for each refold.
953954--
954955-- /Internal/
955956{-# INLINE_NORMAL refoldMany #-}