SrcLoc

# SrcLoc

data RealSrcLoc

data SrcLoc

## Constructing SrcLoc

mkSrcLoc

mkRealSrcLoc

mkGeneralSrcLoc

noSrcLoc

generatedSrcLoc

interactiveSrcLoc

advanceSrcLoc

## Unsafely deconstructing SrcLoc

srcLocFile

srcLocLine

srcLocCol

# SrcSpan

data RealSrcSpan

data SrcSpan

## Constructing SrcSpan

mkGeneralSrcSpan

mkSrcSpan

mkRealSrcSpan

noSrcSpan

wiredInSrcSpan

srcLocSpan

realSrcLocSpan

combineSrcSpans

## Deconstructing SrcSpan

srcSpanStart

srcSpanEnd

realSrcSpanStart

realSrcSpanEnd

srcSpanFileName_maybe

pprUserRealSpan

## Unsafely deconstructing SrcSpan

srcSpanFile

srcSpanStartLine

srcSpanEndLine

srcSpanStartCol

srcSpanEndCol

## Predicates on SrcSpan

isGoodSrcSpan

isOneLineSpan

containsSpan

# Located

type Located e

type RealLocated e

data GenLocated l e

## Constructing Located

noLoc

mkGeneralLocated

## Deconstructing Located

getLoc

unLoc

## Combining and comparing Located values

eqLocated

cmpLocated

combineLocs

addCLoc

leftmost_smallest

leftmost_largest

rightmost

spans

isSubspanOf

sortLocated