<!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 >CoreMonad</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" >CoreMonad</DIV ><DIV CLASS="mini-synopsis" ><H1 >The monad </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="CoreMonad.html#t%3ACoreM" TARGET="main" >CoreM</A > a</DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3ArunCoreM" TARGET="main" >runCoreM</A ></DIV > <H2 >Reading from the monad </H2 > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AgetHscEnv" TARGET="main" >getHscEnv</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AgetAnnEnv" TARGET="main" >getAnnEnv</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AgetRuleBase" TARGET="main" >getRuleBase</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AgetModule" TARGET="main" >getModule</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AgetDynFlags" TARGET="main" >getDynFlags</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AgetOrigNameCache" TARGET="main" >getOrigNameCache</A ></DIV > <H2 >Writing to the monad </H2 > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AaddSimplCount" TARGET="main" >addSimplCount</A ></DIV > <H2 >Lifting into the monad </H2 > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AliftIO" TARGET="main" >liftIO</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AliftIOWithCount" TARGET="main" >liftIOWithCount</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AliftIO1" TARGET="main" >liftIO1</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AliftIO2" TARGET="main" >liftIO2</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AliftIO3" TARGET="main" >liftIO3</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AliftIO4" TARGET="main" >liftIO4</A ></DIV > <H2 >Dealing with annotations </H2 > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AfindAnnotations" TARGET="main" >findAnnotations</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AaddAnnotation" TARGET="main" >addAnnotation</A ></DIV > <H2 >Screen output </H2 > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AputMsg" TARGET="main" >putMsg</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AputMsgS" TARGET="main" >putMsgS</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AerrorMsg" TARGET="main" >errorMsg</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AerrorMsgS" TARGET="main" >errorMsgS</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AfatalErrorMsg" TARGET="main" >fatalErrorMsg</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AfatalErrorMsgS" TARGET="main" >fatalErrorMsgS</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AdebugTraceMsg" TARGET="main" >debugTraceMsg</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AdebugTraceMsgS" TARGET="main" >debugTraceMsgS</A ></DIV > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AdumpIfSet_dyn" TARGET="main" >dumpIfSet_dyn</A ></DIV > <H1 >Getting <TT ><A HREF="Name.html#t%3AName" >Name</A ></TT >s </H1 > <DIV CLASS="decl" ><A HREF="CoreMonad.html#v%3AthNameToGhcName" TARGET="main" >thNameToGhcName</A ></DIV ></DIV ></DIV ></BODY ></HTML >