Hoogle Search

Within LTS Haskell 24.37 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. type Parsec e s = ParsecT e s Identity

    megaparsec Text.Megaparsec

    Parsec is a non-transformer variant of the more general ParsecT monad transformer.

  2. data ParsecT e s (m :: Type -> Type) a

    megaparsec Text.Megaparsec

    ParsecT e s m a is a parser with custom data component of error e, stream type s, underlying monad m and return type a.

  3. data PosState s

    megaparsec Text.Megaparsec

    A special kind of state that is used to calculate line/column positions on demand.

  4. PosState :: s -> Int -> SourcePos -> Pos -> String -> PosState s

    megaparsec Text.Megaparsec

    No documentation available.

  5. data ParseError s e

    megaparsec Text.Megaparsec.Error

    ParseError s e represents a parse error parametrized over the stream type s and the custom data e. Semigroup and Monoid instances of the data type allow us to merge parse errors from different branches of parsing. When merging two ParseErrors, the longest match is preferred; if positions are the same, custom data sets and collections of message items are combined. Note that fancy errors take precedence over trivial errors in merging.

  6. data ParseErrorBundle s e

    megaparsec Text.Megaparsec.Error

    A non-empty collection of ParseErrors equipped with PosState that allows us to pretty-print the errors efficiently and correctly.

  7. ParseErrorBundle :: NonEmpty (ParseError s e) -> PosState s -> ParseErrorBundle s e

    megaparsec Text.Megaparsec.Error

    No documentation available.

  8. newtype ParsecT e s (m :: Type -> Type) a

    megaparsec Text.Megaparsec.Internal

    ParsecT e s m a is a parser with custom data component of error e, stream type s, underlying monad m and return type a.

  9. ParsecT :: (forall b . () => State s e -> (a -> State s e -> Hints (Token s) -> m b) -> (ParseError s e -> State s e -> m b) -> (a -> State s e -> Hints (Token s) -> m b) -> (ParseError s e -> State s e -> m b) -> m b) -> ParsecT e s (m :: Type -> Type) a

    megaparsec Text.Megaparsec.Internal

    No documentation available.

  10. module Text.Megaparsec.Pos

    Textual source position. The position includes name of file, line number, and column number. You probably do not want to import this module directly because Text.Megaparsec re-exports it anyway.

Page 72 of many | Previous | Next