ghc-lib-9.4.4.20221225: The GHC API, decoupled from GHC versions
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.HsToCore.Types

Description

Various types used during desugaring.

Synopsis

Documentation

type DsM = TcRnIf DsGblEnv DsLclEnv Source #

Desugaring monad. See also TcM.

data DsLclEnv Source #

Local state of the desugarer, extended as we lexically descend

Constructors

DsLclEnv 

Fields

data DsGblEnv Source #

Global read-only context and state of the desugarer. The statefulness is implemented through IORefs.