| ||||||||
| ||||||||
Description | ||||||||
Textual source positions. | ||||||||
Documentation | ||||||||
type SourceName = String | ||||||||
type Line = Int | ||||||||
type Column = Int | ||||||||
data SourcePos | ||||||||
| ||||||||
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 |