|Portability||non-portable (MPTCs, OverloadedStrings)|
Incrementally determine locations in a source file through local information
This allows for efficient recomputation of line #s and token locations
while the file is being interactively updated by storing this as a supplemental
measure on a FingerTree.
The general idea is to use this as part of a measure in a FingerTree so you can
use mappend to prepend a startOfFile with the file information.
|Compute the location of the next standard 8-column aligned tab
|data SourcePosition file ||Source|
|A Monoid of partial information about locations in a source file.
This is polymorphic in the kind of information you want to maintain about each source file.
|extract partial information about the current line number if possible
|extract partial information about the current column, even in the absence of knowledge of the source file
|lift information about a source file into a starting SourcePosition for that file
|extract the standard format for an absolute source position
|Produced by Haddock version 2.4.2|