some package:streamly-core

Collect one or more parses. Apply the supplied parser repeatedly on the input stream and push the parse results to a downstream fold. Stops: when the downstream fold stops or the parser fails. Fails: if it stops without producing a single result.
>>> some p f = Parser.manyP p (Parser.takeGE 1 f)

>>> some = Parser.countBetween 1 maxBound
Compare with some.
See documentation of some. Pre-release