Haskell Hierarchical Libraries (parsec package)ContentsIndex
Text.ParserCombinators.Parsec.Pos
Portabilityportable
Stabilityprovisional
Maintainerdaan@cs.uu.nl
Description
Textual source positions.
Documentation
type SourceName = String
type Line = Int
type Column = Int
data SourcePos
show/hide Instances
sourceLine :: SourcePos -> Line
sourceColumn :: SourcePos -> Column
sourceName :: SourcePos -> SourceName
incSourceLine :: SourcePos -> Line -> SourcePos
incSourceColumn :: SourcePos -> Column -> SourcePos
setSourceLine :: SourcePos -> Line -> SourcePos
setSourceColumn :: SourcePos -> Column -> SourcePos
setSourceName :: SourcePos -> SourceName -> SourcePos
newPos :: SourceName -> Line -> Column -> SourcePos
initialPos :: SourceName -> SourcePos
updatePosChar :: SourcePos -> Char -> SourcePos
updatePosString :: SourcePos -> String -> SourcePos
Produced by Haddock version 0.7