ghc-7.2.1: The GHC API
CoreLint
lintCoreBindings :: [CoreBind] -> (Bag Message, Bag Message)Source
lintUnfolding :: SrcLoc -> [Var] -> CoreExpr -> Maybe MessageSource