Abstract
Much work in the area of compiler calculation has focused on pure languages. While this simplifies the reasoning, it reduces the applicability. In this article, we show how an existing compiler calculation methodology can be naturally extended to languages with side effects. We achieve this by exploiting an algebraic approach to effects, which keeps the reasoning simple and provides flexibility in how effects are interpreted. To make the ideas accessible we only use elementary functional programming techniques.
Original language | English |
---|---|
Title of host publication | Proceedings of the 17th ACM SIGPLAN International Haskell Symposium |
Number of pages | 11 |
Publisher | Association for Computing Machinery |
Publication date | 29 Aug 2024 |
Pages | 109 - 119 |
DOIs | |
Publication status | Published - 29 Aug 2024 |
Event | 17th ACM SIGPLAN International Haskell Symposium - Milan, Italy Duration: 6 Sept 2024 → 7 Sept 2024 |
Conference
Conference | 17th ACM SIGPLAN International Haskell Symposium |
---|---|
Country/Territory | Italy |
City | Milan |
Period | 06/09/2024 → 07/09/2024 |
Keywords
- algebraic effects
- monads
- program calculation