@@ -363,7 +363,7 @@ mapMStep f res =
363-- NOTE: The constructor is not yet exposed via exposed modules, smart
363-- NOTE: The constructor is not yet exposed via exposed modules, smart
364-- constructors are provided to create folds. If you think you need the
364-- constructors are provided to create folds. If you think you need the
365-- constructor of this type please consider using the smart constructors in
365-- constructor of this type please consider using the smart constructors in
366−-- "Streamly.Internal.Data.Fold' instead.
366+-- "Streamly.Internal.Data.Fold" instead.
368-- /since 0.8.0 (type changed)/
368-- /since 0.8.0 (type changed)/
@@ -406,7 +406,7 @@ rmapM f (Fold step initial extract) = Fold step1 initial1 (extract >=> f)
406-- mkfoldlx step initial extract = fmap extract (foldl' step initial)
406-- mkfoldlx step initial extract = fmap extract (foldl' step initial)
409−-- See also: "Streamly.Prelude.foldl'"
409+-- See also: @Streamly.Prelude.foldl'@
411-- @since 0.8.0
411-- @since 0.8.0
@@ -428,7 +428,7 @@ foldl' step initial =
428-- mkFoldlxM step initial extract = rmapM extract (foldlM' step initial)
428-- mkFoldlxM step initial extract = rmapM extract (foldlM' step initial)
431−-- See also: "Streamly.Prelude.foldlM'"
431+-- See also: @Streamly.Prelude.foldlM'@
433-- @since 0.8.0
433-- @since 0.8.0
@@ -440,7 +440,7 @@ foldlM' step initial =
440-- | Make a strict left fold, for non-empty streams, using first element as the
440-- | Make a strict left fold, for non-empty streams, using first element as the
441-- starting value. Returns Nothing if the stream is empty.
441-- starting value. Returns Nothing if the stream is empty.
443−-- See also: "Streamly.Prelude.foldl1'"
443+-- See also: @Streamly.Prelude.foldl1'@
445-- /Pre-release/
445-- /Pre-release/
446{-# INLINE foldl1' #-}
446{-# INLINE foldl1' #-}
@@ -465,7 +465,7 @@ foldl1' step = fmap toMaybe $ foldl' step1 Nothing'
466-- > toList = foldr (:) []
466-- > toList = foldr (:) []
468−-- See also: "Streamly.Prelude.foldr"
468+-- See also: 'Streamly.Prelude.foldr'
470-- @since 0.8.0
470-- @since 0.8.0
471{-# INLINE foldr #-}
471{-# INLINE foldr #-}
@@ -481,7 +481,7 @@ foldr g z = fmap ($ z) $ foldl' (\f x -> f . g x) id
482-- > toList = foldrM (\a xs -> return $ a : xs) (return [])
482-- > toList = foldrM (\a xs -> return $ a : xs) (return [])
484−-- See also: "Streamly.Prelude.foldrM"
484+-- See also: 'Streamly.Prelude.foldrM'
486-- /Pre-release/
486-- /Pre-release/
487{-# INLINE foldrM #-}
487{-# INLINE foldrM #-}
@@ -851,7 +851,7 @@ data ConcatMapState m sa a c
852-- /Time: O(n^2) where @n@ is the number of compositions./
852-- /Time: O(n^2) where @n@ is the number of compositions./
854−-- See also: "Streamly.Internal.Data.Stream.IsStream.foldIterateM"
854+-- See also: 'Streamly.Internal.Data.Stream.IsStream.foldIterateM'
856-- @since 0.8.0
856-- @since 0.8.0
@@ -1081,7 +1081,7 @@ data ManyState s1 s2
1082-- Stops when @collect@ stops.
1082-- Stops when @collect@ stops.
1084−-- See also: "Streamly.Prelude.concatMap", "Streamly.Prelude.foldMany"
1084+-- See also: 'Streamly.Prelude.concatMap', 'Streamly.Prelude.foldMany'
1086-- @since 0.8.0
1086-- @since 0.8.0
@@ -1143,7 +1143,7 @@ many (Fold sstep sinitial sextract) (Fold cstep cinitial cextract) =
1144-- /Internal/
1144-- /Internal/
1146−-- /See also: Streamly.Prelude.concatMap, Streamly.Prelude.foldMany/
1146+-- /See also: 'Streamly.Prelude.concatMap', 'Streamly.Prelude.foldMany'/
1148{-# INLINE manyPost #-}
1148{-# INLINE manyPost #-}
1149manyPost :: Monad m => Fold m a b -> Fold m b c -> Fold m a c
1149manyPost :: Monad m => Fold m a b -> Fold m b c -> Fold m a c