Publication | Closed Access
Closed type families with overlapping equations
80
Citations
21
References
2014
Year
Unknown Venue
EngineeringGeneric ProgrammingType TheoryDependently Typed ProgrammingPractical Programming LanguageClosed Type FamiliesFormal MethodsComputer ScienceType SystemType-level FunctionsReal Algebraic GeometryFormal VerificationFunctional Programming LanguageOpen Type UniverseProgramming Languages
Open, type-level functions are a recent innovation in Haskell that move Haskell towards the expressiveness of dependent types, while retaining the look and feel of a practical programming language. This paper shows how to increase expressiveness still further, by adding closed type functions whose equations may overlap, and may have non-linear patterns over an open type universe. Although practically useful and simple to implement, these features go beyond conventional dependent type theory in some respects, and have a subtle metatheory.
| Year | Citations | |
|---|---|---|
Page 1
Page 1