Safe Haskell | Safe-Inferred |
---|
This module defines types and functions dealing with source code locations.
Documentation
An abstract type representing locations in a file.
unknownLocation :: LocationSource
The unknown location (file ?
and line 0
).
lineNumber :: Location -> IntSource
Extract the line number of a Location
.