Convert

ghc-8.2.2: The GHC API

Safe Haskell | None
Language | Haskell2010

Convert

# Documentation

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

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

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

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

thRdrNameGuesses :: Name -> [RdrName] Source #