Convert

ghc-7.10.3: The GHC API

Safe Haskell | None
Language | Haskell2010

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]