GHC.HsToCore.Expr

ghc-9.10.0.20240413: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.HsToCore.Expr

Synopsis

- dsExpr :: HsExpr GhcTc -> DsM CoreExpr
- dsLExpr :: LHsExpr GhcTc -> DsM CoreExpr
- dsLocalBinds :: HsLocalBinds GhcTc -> CoreExpr -> DsM CoreExpr
- dsValBinds :: HsValBinds GhcTc -> CoreExpr -> DsM CoreExpr
- dsLit :: HsLit GhcRn -> DsM CoreExpr
- dsSyntaxExpr :: SyntaxExpr GhcTc -> [CoreExpr] -> DsM CoreExpr

# Documentation

dsExpr :: HsExpr GhcTc -> DsM CoreExpr Source #

Desugar a typechecked expression.

dsLExpr :: LHsExpr GhcTc -> DsM CoreExpr Source #

Desugar a located typechecked expression.

dsLocalBinds :: HsLocalBinds GhcTc -> CoreExpr -> DsM CoreExpr Source #

dsValBinds :: HsValBinds GhcTc -> CoreExpr -> DsM CoreExpr Source #

dsLit :: HsLit GhcRn -> DsM CoreExpr Source #

dsSyntaxExpr :: SyntaxExpr GhcTc -> [CoreExpr] -> DsM CoreExpr Source #