GHC.HsToCore

ghc-9.10.0.20240328: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.HsToCore

Contents

- Desugaring operations

Synopsis

- deSugar :: HscEnv -> ModLocation -> TcGblEnv -> IO (Messages DsMessage, Maybe ModGuts)
- deSugarExpr :: HscEnv -> LHsExpr GhcTc -> IO (Messages DsMessage, Maybe CoreExpr)

# Desugaring operations

deSugar :: HscEnv -> ModLocation -> TcGblEnv -> IO (Messages DsMessage, Maybe ModGuts) Source #

Main entry point to the desugarer.

deSugarExpr :: HscEnv -> LHsExpr GhcTc -> IO (Messages DsMessage, Maybe CoreExpr) Source #