HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleghc-9.14.1GHC2021

GHC.Core.TyCo.Tidy

Tidying types and coercions for printing in error messages.

  • 19 values
  • Packageghc-9.14.1
  • Exports19
  • LanguageGHC2021
  • LicenceBSD-3-Clause
  • SourceTidy.hs

Tidying type related things up for printing

19 declarations

Add the free TyVars to the env in tidy form, so that we can tidy the type they are free in Precondition: input free vars are closed over kinds and This function does a scopedSort, so that tidied variables have tidied kinds. See Note [Tidying is idempotent]

valuetidyVarBndrs :: TidyEnv -> [TyCoVar] -> (TidyEnv, [TyCoVar])
#

This tidies up a type for printing in an error message, or in an interface file.

It doesn't change the uniques at all, just the print names.