ghc-7.8.0.20140228: 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