Total Type Classes
In Haskell, type classes can act like functions from types to terms. However, unlike for functions, there is no way for the programmer to ask the compiler to verify that classes pattern-match exhaustively on their arguments, and their usage must always be marked by a constraint even when they are exhaustive.
Authors
- Nicolas Wu (ORCID: https://orcid.org/0000-0002-4161-985X)
- Robert Weingart
Institutions
- Imperial College London (GB)
Publication Details
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1145/3759164.3759349
- Citations
- 1
- Primary Topic
- Logic, programming, and type systems
- Type
- article
- Field-Weighted Citation Impact
- 2.48