Abstract
We present a calculational approach to the design of type checkers, showing how they can be derived from behavioural specifications using equational reasoning. We focus on languages whose semantics can be expressed as a fold, and show how the calculations can be simplified using fold fusion. This approach enables the compositional derivation of correct-by-construction type checkers based on solving and composing fusion preconditions. We introduce our approach using a simple expression language, to which we then add support for exception handling and checked exceptions.
| Originalsprog | Engelsk |
|---|---|
| Titel | Proceedings of the 18th ACM SIGPLAN International Haskell Symposium |
| Antal sider | 13 |
| Forlag | Association for Computing Machinery |
| Publikationsdato | 9 okt. 2025 |
| Sider | 17 - 29 |
| ISBN (Elektronisk) | 9798400721472 |
| DOI | |
| Status | Udgivet - 9 okt. 2025 |
| Begivenhed | 18th ACM SIGPLAN International Haskell Symposium - Singapore, Singapore Varighed: 12 okt. 2025 → 18 okt. 2025 Konferencens nummer: 2025 |
Konference
| Konference | 18th ACM SIGPLAN International Haskell Symposium |
|---|---|
| Nummer | 2025 |
| Land/Område | Singapore |
| By | Singapore |
| Periode | 12/10/2025 → 18/10/2025 |
Fingeraftryk
Dyk ned i forskningsemnerne om 'The Calculated Typer (Functional Pearl)'. Sammen danner de et unikt fingeraftryk.Forskningsdatasæt
-
Haskell and Agda code for the article "The Calculated Typer"
Garby, Z. (Ophavsmand), Bahr, P. (Ophavsmand) & Hutton, G. (Ophavsmand), ZENODO, 6 aug. 2025
Datasæt: Software