GHC.ThToHs

ghc-9.10.0.20240413: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.ThToHs

# Documentation

convertToHsExpr :: Origin -> SrcSpan -> Exp -> Either RunSpliceFailReason (LHsExpr GhcPs) Source #

convertToPat :: Origin -> SrcSpan -> Pat -> Either RunSpliceFailReason (LPat GhcPs) Source #

convertToHsDecls :: Origin -> SrcSpan -> [Dec] -> Either RunSpliceFailReason [LHsDecl GhcPs] Source #

convertToHsType :: Origin -> SrcSpan -> Type -> Either RunSpliceFailReason (LHsType GhcPs) Source #

thRdrNameGuesses :: Name -> [RdrName] Source #