@@ -325,15 +325,15 @@ splitOnAny _subseq _f _m =
325-- | Apply a 'Parser' repeatedly on a stream and emit the parsed values in the
325-- | Apply a 'Parser' repeatedly on a stream and emit the parsed values in the
326-- output stream.
326-- output stream.
328−-- This is the streaming equivalent of the 'Streamly.Internal.Data.Parser.many'
328+-- Example:
331-- >>> s = Stream.fromList [1..10]
330-- >>> s = Stream.fromList [1..10]
332-- >>> parser = Parser.takeBetween 0 2 Fold.sum
331-- >>> parser = Parser.takeBetween 0 2 Fold.sum
333-- >>> Stream.fold Fold.toList $ Stream.parseMany parser s
332-- >>> Stream.fold Fold.toList $ Stream.parseMany parser s
334-- [Right 3,Right 7,Right 11,Right 15,Right 19]
333-- [Right 3,Right 7,Right 11,Right 15,Right 19]
336−-- foldMany f = Stream.parseMany (Parser.fromFold f)
335+-- This is the streaming equivalent of the 'Streamly.Data.Parser.many' parse
338-- Known Issues: When the parser fails there is no way to get the remaining
338-- Known Issues: When the parser fails there is no way to get the remaining
339-- stream.
339-- stream.