on master help sign in
Add signature change annotations to foldlM', concatMapWith.
commit6f4fd8d4a68ac9f4e8b7eb9cede8895e5ddb1787 authorpranaysashank <pranaysashank@composewell.com> dateMon 26 Oct 2020, 13:38 (6 years ago) parent6939696
1 file changed+6−2
src/Streamly/Internal/Data/Stream/IsStream.hs+6−2
src/Streamly/Internal/Data/Stream/IsStream.hs+6−2
@@ -1398,7 +1398,9 @@ foldxM = P.foldlMx'
13981398
13991399-- | Like 'foldl'' but with a monadic step function.
14001400--
1401−-- @since 0.2.0
1401+-- /Since: 0.2.0/
1402+--
1403+-- /Since: 0.8.0 (signature change)/
14021404{-# INLINE foldlM' #-}
14031405foldlM' :: Monad m => (b -> a -> m b) -> m b -> SerialT m a -> m b
14041406foldlM' step begin m = S.foldlM' step begin $ toStreamS m
@@ -3167,7 +3169,9 @@ mergeAsyncByM f m1 m2 = fromStreamD $
31673169--
31683170-- /Compare 'foldMapWith'/
31693171--
3170−-- @since 0.7.0
3172+-- /Since: 0.7.0/
3173+--
3174+-- /Since: 0.8.0 (signature change)/
31713175{-# INLINE concatMapWith #-}
31723176concatMapWith
31733177 :: IsStream t