ghc-8.4.3: The GHC API
Convert
convertToHsExpr :: SrcSpan -> Exp -> Either MsgDoc (LHsExpr GhcPs) Source #
convertToPat :: SrcSpan -> Pat -> Either MsgDoc (LPat GhcPs) Source #
convertToHsDecls :: SrcSpan -> [Dec] -> Either MsgDoc [LHsDecl GhcPs] Source #
convertToHsType :: SrcSpan -> Type -> Either MsgDoc (LHsType GhcPs) Source #
thRdrNameGuesses :: Name -> [RdrName] Source #