on master help sign in
Fix fold doctest in folds vs streams
commitf21fbbd5b89ae04576c91cb28eced7e75c1f2b46 authorHarendra Kumar <harendra@composewell.com> dateSat 31 Jul 2021, 13:24 (5 years ago) parentaa522e9
1 file changed+2−2
src/Streamly/Data/Fold.hs+2−2
src/Streamly/Data/Fold.hs+2−2
@@ -113,8 +113,8 @@
113113-- transformations on folds happen on the input side:
114114--
115115-- >>> :{
116−-- f stream =
117−-- Fold.filter odd stream
116+-- f =
117+-- Fold.filter odd
118118-- $ Fold.lmap (+1)
119119-- $ Fold.sum
120120-- :}