Update doc of "distribute" fold
commit135f28f1e7f74c1b210857004cfe0221b9cd449d
authorHarendra Kumar <harendra@composewell.com>
dateTue 1 Mar 2022, 17:46 (5 years ago)
parenta7a6c27
core/src/Streamly/Internal/Data/Fold.hs+1−1
@@ -1306,7 +1306,7 @@ tee = teeWith (,)
13061306-- >>> Stream.fold (Fold.distribute [Fold.sum, Fold.length]) (Stream.enumerateFromTo 1 5)
13071307-- [15,5]
13081308--
1309−-- > distribute = Prelude.foldr (Fold.teeWith (:)) (Fold.fromPure [])
1309+-- >>> distribute = Prelude.foldr (Fold.teeWith (:)) (Fold.fromPure [])
13101310--
13111311-- This is the consumer side dual of the producer side 'sequence' operation.
13121312--