ghc-7.4.2: 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
thRdrNameGuesses :: Name -> [RdrName]Source