xml-basic-0.1.1: Basics for XML/HTML representation and processing

Portabilityportable
Stabilityprovisional
Maintainertagsoup@henning-thielemann.de

Text.XML.Basic.Position

Description

Position in a file.

Cf. to Text.ParserCombinators.Parsec.Pos

Synopsis

Documentation

data T Source

Position in a file consisting of file name, row and column coordinates. Upper left is (0,0), but show routines can display this with different offsets.

Instances

Eq T 
Ord T 
Show T 

type Row = IntSource

toReportText :: T -> StringSource

Convert the file position to a format that development environments can understand.