HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Moduleparsec-3.1.18.0Haskell2010

Text.ParserCombinators.Parsec

Parsec compatibility module

  • 5 types
  • 9 values
  • Packageparsec-3.1.18.0
  • Exports14
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceParsec.hs
datadata ParseError
#

The abstract data type ParseError represents parse errors. It provides the source position (SourcePos) of the error and a list of error messages (Message). A ParseError can be returned by the function parse. ParseError is an instance of the Show and Eq classes.

Instances3Eq, Show, Exception
datadata SourcePos
#

The abstract data type SourcePos represents source positions. It contains the name of the source (i.e. file name), a line number and a column number. SourcePos is an instance of the Show, Eq and Ord class.

Instances4Eq, Data, Ord, Show