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. withAnyWord8 :: forall (st :: ZeroBitType) e r . (Word8 -> ParserT st e r) -> ParserT st e r

    flatparse FlatParse.Basic.Integers

    Parse any Word8 (CPS).

  2. skipAnyAsciiChar :: forall (st :: ZeroBitType) e . ParserT st e ()

    flatparse FlatParse.Basic.Text

    Skip any single ASCII character (a single byte). More efficient than skipAnyChar for ASCII-only input.

  3. skipAnyChar :: forall (st :: ZeroBitType) e . ParserT st e ()

    flatparse FlatParse.Basic.Text

    Skip any single Unicode character encoded using UTF-8.

  4. many :: Alternative f => f a -> f [a]

    flatparse FlatParse.Stateful

    Zero or more.

    Examples

    >>> many (putStr "la")
    lalalalalalalalala... * goes on forever *
    
    >>> many Nothing
    Just []
    
    >>> take 5 <$> many (Just 1)
    * hangs forever *
    
    Note that this function can be used with Parsers based on Applicatives. In that case many parser will attempt to parse parser zero or more times until it fails.

  5. skipAnyAsciiChar :: forall (st :: ZeroBitType) r e . ParserT st r e ()

    flatparse FlatParse.Stateful

    Skip any single ASCII character (a single byte). More efficient than anyChar_ for ASCII-only input.

  6. skipAnyChar :: forall (st :: ZeroBitType) r e . ParserT st r e ()

    flatparse FlatParse.Stateful

    Skip any single Unicode character encoded using UTF-8.

  7. skipMany :: forall (st :: ZeroBitType) r e a . ParserT st r e a -> ParserT st r e ()

    flatparse FlatParse.Stateful

    Skip a parser zero or more times.

  8. withAnyResult :: forall (st :: ZeroBitType) r t a e b . ParserT st r t a -> (a -> ParserT st r e b) -> ParserT st r e b -> (t -> ParserT st r e b) -> ParserT st r e b

    flatparse FlatParse.Stateful

    Run the parser, and handle each possible result.

  9. skipMany :: forall (st :: ZeroBitType) r e a . ParserT st r e a -> ParserT st r e ()

    flatparse FlatParse.Stateful.Base

    Skip a parser zero or more times.

  10. withAnyResult :: forall (st :: ZeroBitType) r t a e b . ParserT st r t a -> (a -> ParserT st r e b) -> ParserT st r e b -> (t -> ParserT st r e b) -> ParserT st r e b

    flatparse FlatParse.Stateful.Base

    Run the parser, and handle each possible result.

Page 152 of many | Previous | Next