HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleghc-9.10.3GHC2021

GHC.Tc.Zonk.TcType

Zonking types within the typechecker.

Distinct from the final zonking pass in GHC.Tc.Zonk.Type; see Note [Module structure for zonking] in GHC.Tc.Zonk.Type.

  • 37 values
  • Packageghc-9.10.3
  • Exports37
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceTcType.hs

Zonking (within the typechecker)

0 declarations

The ZonkM monad and ZonkGblEnv

Zonking types

Zonking TyCons

FreeVars

Zonking CoVars and Ids

valuezonkId :: TcId -> ZonkM TcId
#

zonkId is used *during* typechecking just to zonk the Id's type

Zonking skolem info

Zonking constraints

Tidying

5 declarations

Zonk & tidy

Writing to metavariables

2 declarations

Handling coercion holes

1 declaration

Check that a coercion is appropriate for filling a hole. (The hole itself is needed only for printing.) Always returns the checked coercion, but this return value is necessary so that the input coercion is forced only when the output is forced.