ghc-7.8.4: The GHC API

Safe Haskell | None
Language | Haskell98

Convert

# Documentation

convertToHsExpr :: SrcSpan -> Exp -> Either MsgDoc (LHsExpr RdrName)

convertToPat :: SrcSpan -> Pat -> Either MsgDoc (LPat RdrName)

convertToHsDecls :: SrcSpan -> [Dec] -> Either MsgDoc [LHsDecl RdrName]

convertToHsType :: SrcSpan -> Type -> Either MsgDoc (LHsType RdrName)

thRdrNameGuesses :: Name -> [RdrName]