CoreMonad
The monad
data
CoreM
a
runCoreM
Reading from the monad
getHscEnv
getAnnEnv
getRuleBase
getModule
getDynFlags
getOrigNameCache
Writing to the monad
addSimplCount
Lifting into the monad
liftIO
liftIOWithCount
liftIO1
liftIO2
liftIO3
liftIO4
Dealing with annotations
findAnnotations
addAnnotation
Screen output
putMsg
putMsgS
errorMsg
errorMsgS
fatalErrorMsg
fatalErrorMsgS
debugTraceMsg
debugTraceMsgS
dumpIfSet_dyn
Getting
Name
s
thNameToGhcName