A pair of (start linecol, end linecol) coordinates. The end column will be one past the final character (i.e. the span (1,1)->(1,1) is zero characters long).
SourceSpans are 1-indexed in both lines and columns.
Conceptually identical to GHC's RealSourceSpan.
Constructors
SourceSpanspanFile :: !TextspanStartLine :: !IntspanStartCol :: !IntspanEndLine :: !IntspanEndCol :: !Int
Instances5Eq, Ord, Read, Show, Lift
Eq SourceSpanDefined in persistent-2.18.1.0 · Database.Persist.Types.SourceSpanOrd SourceSpanDefined in persistent-2.18.1.0 · Database.Persist.Types.SourceSpanRead SourceSpanDefined in persistent-2.18.1.0 · Database.Persist.Types.SourceSpanShow SourceSpanDefined in persistent-2.18.1.0 · Database.Persist.Types.SourceSpanLift SourceSpanDefined in persistent-2.18.1.0 · Database.Persist.Types.SourceSpan