ghc-7.6.3: The GHC API
CoreLint
lintCoreBindings :: CoreProgram -> (Bag MsgDoc, Bag MsgDoc)Source
lintUnfolding :: SrcLoc -> [Var] -> CoreExpr -> Maybe MsgDocSource