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.

  1. manyP :: forall a (m :: Type -> Type) b c . Parser a m b -> Parser b m c -> Parser a m c

    streamly-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

  2. manyThen :: forall a (m :: Type -> Type) b x c . Parser a m b -> Parser a m x -> Fold m b c -> Parser a m c

    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

  3. manyTill :: forall (m :: Type -> Type) a b x c . Monad m => Parser a m b -> Parser a m x -> Fold m b c -> Parser a m c

    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.

  4. manyTillP :: forall a (m :: Type -> Type) b x c . Parser a m b -> Parser a m x -> Parser b m c -> Parser a m c

    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

  5. splitMany :: forall (m :: Type -> Type) a b c . Monad m => Parser a m b -> Fold m b c -> Parser a m c

    streamly-core Streamly.Internal.Data.Parser

    See documentation of many. Pre-release

  6. splitManyPost :: forall (m :: Type -> Type) a b c . Monad m => Parser a m b -> Fold m b c -> Parser a m c

    streamly-core Streamly.Internal.Data.Parser

    Like splitMany, but inner fold emits an output at the end even if no input is received. Internal

  7. parseMany :: forall (m :: Type -> Type) a b x . Monad m => Parser a m b -> Producer m (Source x a) a -> Producer m (Source x a) (Either ParseError b)

    streamly-core Streamly.Internal.Data.Producer

    Apply a parser repeatedly on a buffered source producer to generate a producer of parsed values. Pre-release

  8. parseManyD :: forall (m :: Type -> Type) a b x . Monad m => Parser a m b -> Producer m (Source x a) a -> Producer m (Source x a) (Either ParseError b)

    streamly-core Streamly.Internal.Data.Producer

    No documentation available.

  9. StopAny :: SVarStopStyle

    streamly-core Streamly.Internal.Data.SVar.Type

    No documentation available.

  10. data FoldMany s fs b a

    streamly-core Streamly.Internal.Data.Stream

    No documentation available.

Page 206 of many | Previous | Next