<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >SrcLoc</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >SrcLoc</DIV ><DIV CLASS="mini-synopsis" ><H1 >SrcLoc </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="SrcLoc.html#t%3ASrcLoc" TARGET="main" >SrcLoc</A > </DIV > <H2 >Constructing SrcLoc </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AmkSrcLoc" TARGET="main" >mkSrcLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AmkGeneralSrcLoc" TARGET="main" >mkGeneralSrcLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AnoSrcLoc" TARGET="main" >noSrcLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AgeneratedSrcLoc" TARGET="main" >generatedSrcLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AinteractiveSrcLoc" TARGET="main" >interactiveSrcLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AadvanceSrcLoc" TARGET="main" >advanceSrcLoc</A ></DIV > <H2 >Unsafely deconstructing SrcLoc </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcLocFile" TARGET="main" >srcLocFile</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcLocLine" TARGET="main" >srcLocLine</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcLocCol" TARGET="main" >srcLocCol</A ></DIV > <H2 >Misc. operations on SrcLoc </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3ApprDefnLoc" TARGET="main" >pprDefnLoc</A ></DIV > <H2 >Predicates on SrcLoc </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AisGoodSrcLoc" TARGET="main" >isGoodSrcLoc</A ></DIV > <H1 >SrcSpan </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="SrcLoc.html#t%3ASrcSpan" TARGET="main" >SrcSpan</A > </DIV > <H2 >Constructing SrcSpan </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AmkGeneralSrcSpan" TARGET="main" >mkGeneralSrcSpan</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AmkSrcSpan" TARGET="main" >mkSrcSpan</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AnoSrcSpan" TARGET="main" >noSrcSpan</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AwiredInSrcSpan" TARGET="main" >wiredInSrcSpan</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcLocSpan" TARGET="main" >srcLocSpan</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AcombineSrcSpans" TARGET="main" >combineSrcSpans</A ></DIV > <H2 >Deconstructing SrcSpan </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanStart" TARGET="main" >srcSpanStart</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanEnd" TARGET="main" >srcSpanEnd</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanFileName_maybe" TARGET="main" >srcSpanFileName_maybe</A ></DIV > <H2 >Unsafely deconstructing SrcSpan </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanFile" TARGET="main" >srcSpanFile</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanStartLine" TARGET="main" >srcSpanStartLine</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanEndLine" TARGET="main" >srcSpanEndLine</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanStartCol" TARGET="main" >srcSpanStartCol</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AsrcSpanEndCol" TARGET="main" >srcSpanEndCol</A ></DIV > <H2 >Predicates on SrcSpan </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AisGoodSrcSpan" TARGET="main" >isGoodSrcSpan</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AisOneLineSpan" TARGET="main" >isOneLineSpan</A ></DIV > <H1 >Located </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="SrcLoc.html#t%3ALocated" TARGET="main" >Located</A > e</DIV > <H2 >Constructing Located </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AnoLoc" TARGET="main" >noLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AmkGeneralLocated" TARGET="main" >mkGeneralLocated</A ></DIV > <H2 >Deconstructing Located </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AgetLoc" TARGET="main" >getLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AunLoc" TARGET="main" >unLoc</A ></DIV > <H2 >Combining and comparing Located values </H2 > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AeqLocated" TARGET="main" >eqLocated</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AcmpLocated" TARGET="main" >cmpLocated</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AcombineLocs" TARGET="main" >combineLocs</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AaddCLoc" TARGET="main" >addCLoc</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3Aleftmost_smallest" TARGET="main" >leftmost_smallest</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3Aleftmost_largest" TARGET="main" >leftmost_largest</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3Arightmost" TARGET="main" >rightmost</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3Aspans" TARGET="main" >spans</A ></DIV > <DIV CLASS="decl" ><A HREF="SrcLoc.html#v%3AisSubspanOf" TARGET="main" >isSubspanOf</A ></DIV ></DIV ></DIV ></BODY ></HTML >