Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
manyP :: forall a (m :: Type -> Type) b c . Parser a m b -> Parser b m c -> Parser a m cstreamly-core Streamly.Internal.Data.Parser Like many but uses a Parser instead of a Fold to collect the results. Parsing stops or fails if the collecting parser stops or fails. Unimplemented
-
streamly-core Streamly.Internal.Data.Parser manyThen f collect recover repeats the parser collect on the input and collects the output in the supplied fold. If the the parser collect fails, parser recover is run until it stops and then we start repeating the parser collect again. The parser fails if the recovery parser fails. For example, this can be used to find a key frame in a video stream after an error. Unimplemented
-
streamly-core Streamly.Internal.Data.Parser manyTill chunking test f tries the parser test on the input, if test fails it backtracks and tries chunking, after chunking succeeds test is tried again and so on. The parser stops when test succeeds. The output of test is discarded and the output of chunking is accumulated by the supplied fold. The parser fails if chunking fails. Stops when the fold f stops.
-
streamly-core Streamly.Internal.Data.Parser Like manyTill but uses a Parser to collect the results instead of a Fold. Parsing stops or fails if the collecting parser stops or fails. We can implemnent parsers like the following using manyTillP:
countBetweenTill m n f p = manyTillP (takeBetween m n f) p
Unimplemented -
streamly-core Streamly.Internal.Data.Parser See documentation of many. Pre-release
-
streamly-core Streamly.Internal.Data.Parser Like splitMany, but inner fold emits an output at the end even if no input is received. Internal
-
streamly-core Streamly.Internal.Data.Producer Apply a parser repeatedly on a buffered source producer to generate a producer of parsed values. Pre-release
-
streamly-core Streamly.Internal.Data.Producer No documentation available.
-
streamly-core Streamly.Internal.Data.SVar.Type No documentation available.
-
streamly-core Streamly.Internal.Data.Stream No documentation available.