on master help sign in
Add signature change annotations to foldlM', concatMapWith.
6f4fd8dpranaysashank
src/Streamly/Internal/Data/Stream/IsStream.hs+6−2
@@ -1398,7 +1398,9 @@ foldxM = P.foldlMx'
1398
1398
1399-- | Like 'foldl'' but with a monadic step function.
1399-- | Like 'foldl'' but with a monadic step function.
1400--
1400--
1401−-- @since 0.2.0
1401+-- /Since: 0.2.0/
1402+--
1403+-- /Since: 0.8.0 (signature change)/
1402{-# INLINE foldlM' #-}
1404{-# INLINE foldlM' #-}
1403foldlM' :: Monad m => (b -> a -> m b) -> m b -> SerialT m a -> m b
1405foldlM' :: Monad m => (b -> a -> m b) -> m b -> SerialT m a -> m b
1404foldlM' step begin m = S.foldlM' step begin $ toStreamS m
1406foldlM' step begin m = S.foldlM' step begin $ toStreamS m
@@ -3167,7 +3169,9 @@ mergeAsyncByM f m1 m2 = fromStreamD $
3167--
3169--
3168-- /Compare 'foldMapWith'/
3170-- /Compare 'foldMapWith'/
3169--
3171--
3170−-- @since 0.7.0
3172+-- /Since: 0.7.0/
3173+--
3174+-- /Since: 0.8.0 (signature change)/
3171{-# INLINE concatMapWith #-}
3175{-# INLINE concatMapWith #-}
3172concatMapWith
3176concatMapWith
3173 :: IsStream t
3177 :: IsStream t