Note [GHC Formalism]
This file implements the type-checking algorithm for System FC, the "official" name of the Core language. Type safety of FC is heart of the claim that executables produced by GHC do not have segmentation faults. Thus, it is useful to be able to reason about System FC independently of reading the code. To this purpose, there is a document core-spec.pdf built in docs/core-spec that contains a formalism of the types and functions dealt with here. If you change just about anything in this file or you change other types/functions throughout the Core language (all signposted to this note), you should update that formalism. See docs/core-spec/README for more info about how to do so.
References 0
This Note does not link to any other.
Referenced by 24
- GHC.Core.Lint call site ×11
- GHC.Core call site ×6
- GHC.Core.TyCo.Rep call site ×2
- GHC.Core.Coercion.Axiom call site
- GHC.Core.TyCon call site
- GHC.Core.Type call site
- GHC.Tc.TyCl call site
- GHC.Types.Tickish call site