GHC.ThToHs

ghc-9.2.0.20210821: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.ThToHs

# Documentation

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

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

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

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

thRdrNameGuesses :: Name -> [RdrName] Source #