HORIZON HASKELLDocslts/ghc-10.0.x2b276322026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 2b27632 · 2026-10-31

Moduleghc-10.0.0.20260917GHC2024

GHC.Tc.Plugin

This module provides an interface for typechecker plugins to access select functions of the TcM, principally those to do with reading parts of the state.

Contents
  1. Basic TcPluginM functionality
  2. Finding Modules and Names
  3. Looking up Names in the typechecking environment
  4. Getting the TcM state
  5. Type variables
  6. Zonking
  7. Creating constraints
  8. Manipulating evidence bindings
Synopsis

Basic TcPluginM functionality

Finding Modules and Names

datadata FindResult

The result of searching for an imported module.

NB: FindResult manages both user source-import lookups (which can result in Module) as well as direct imports for interfaces (which always result in InstalledModule).

Constructors

Looking up Names in the typechecking environment

Getting the TcM state

Type variables

Zonking

Creating constraints

Manipulating evidence bindings