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