Zonking monad for a computation that zonks to Type, reading from a ZonkEnv but not extending or modifying it.
See Note [Zonking to Type].
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Moduleghc-9.10.3GHC2021
Final zonking to Type. See Note [Zonking to Type].
Distinct from the intra-typechecker zonking in GHC.Tc.Zonk.TcType; see Note [Module structure for zonking].
For a description of "zonking", see Note [What is zonking?].
Zonking monad for a computation that zonks to Type, reading from a ZonkEnv but not extending or modifying it.
See Note [Zonking to Type].
Confused by zonking? See Note [What is zonking?] in GHC.Tc.Zonk.Type.
module GHC.Tc.Zonk.Env
Is a coercion hole filled in?
Retrieve the contents of a coercion hole. Panics if the hole is unfilled
Retrieve the contents of a coercion hole, if it is filled
Check whether any coercion hole in a RewriterSet is still unsolved. Does this by recursively looking through filled coercion holes until one is found that is not yet filled in, at which point this aborts.
Get a TidyEnv that includes mappings for all vars free in the given type. Useful when tidying open types.