Convert

ghc-8.6.3: The GHC API

Safe Haskell | None
Language | Haskell2010

Convert

# Documentation

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

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

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

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

thRdrNameGuesses :: Name -> [RdrName] #