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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Package0.2.0.0

sheaf

Theories as first-class data — the L4 skeleton of the vortex estate

Modules

  • Sheaf.MorphismA theory morphism T₁ → T₂: a mapping of the source theory's
  • Sheaf.TheoryA theory as first-class data: the signature of a vortex DSL —

Description

A theory is the signature of a vortex DSL: its sorts, its operations (sorted arities) and the equations its terms satisfy — pure syntax, no interpretation, no IO. This package holds the Theory datatype, a well-formedness check, and a canonical printer/parser whose round-trip law is the estate master plan's G18a (L4-P0) exit check. Morphisms, pushouts and the sheaf gluing of models are later phases that build on this. Library-only so the elaborator's closure carries no host code.

Depends on

2 packages

Used by in this set · 1