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