ghc-7.0.3: The GHC API

Convert

# Documentation

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