HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleparsec1-1.0.0.8Haskell98

Text.ParserCombinators.Parsec.Pos

Textual source positions

  • 4 types
  • 12 values
  • Packageparsec1-1.0.0.8
  • Exports16
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourcePos.hs
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.

Instances3Eq, Ord, Show
  • Eq SourcePosDefined in parsec1-1.0.0.8 · Text.ParserCombinators.Parsec.Pos
  • Ord SourcePosDefined in parsec1-1.0.0.8 · Text.ParserCombinators.Parsec.Pos
  • Show SourcePosDefined in parsec1-1.0.0.8 · Text.ParserCombinators.Parsec.Pos