ghc-7.2.1: The GHC API
Convert
convertToHsExpr :: SrcSpan -> Exp -> Either Message (LHsExpr RdrName)Source
convertToPat :: SrcSpan -> Pat -> Either Message (LPat RdrName)Source
convertToHsDecls :: SrcSpan -> [Dec] -> Either Message [LHsDecl RdrName]Source
convertToHsType :: SrcSpan -> Type -> Either Message (LHsType RdrName)Source
convertToHsPred :: SrcSpan -> Pred -> Either Message (LHsPred RdrName)Source
thRdrNameGuesses :: Name -> [RdrName]Source