HORIZON HASKELLDocslts/ghc-10.0.x04404a62026-10-19Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 04404a6 · 2026-10-19

Zonking (within the typechecker)

The ZonkM monad and ZonkGblEnv

Zonking types

Zonking TyCons

FreeVars

Zonking CoVars and Ids

Zonking skolem info

Zonking constraints

Rewriter sets

Coercion holes

Tidying

Zonk & tidy

Writing to metavariables

Handling coercion holes

Debugging-only! 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.