| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Rzk.Check.Modality
Description
The mode theory of the modalities: composition, and the coercions between them (what a lock lets through). The rules are those of Gratzer, Weinberger, and Buchholtz, /Directed Univalence in Simplicial Homotopy Type Theory/ (2024), §3.1.1. The tables match the old checker (Rzk.TypeCheck.Context).
The coercion Flat ⇒ Op is not a generating rule. It follows in the
generated 2-category by whiskering Flat ⇒ Id on the right by Op:
Flat ∘ Op ⇒ Id ∘ Op simplifies to Flat ⇒ Op.
Documentation
Instances
| Show TModality Source # | |
| Eq TModality Source # | |
| Ord TModality Source # | |
| ModeTheory TModality Source # | |
| ZipMatchK TModality Source # | Matching the non-recursive fields of the signature. A modality and a hole's name are part of the term: they must agree. A |
| ZipMatchK TModality Source # | |