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