Metraipolis › archive › dc_d71b44143a39
A monadic interpreter and type-and-effect checker — arXiv:2609.07667
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.07667
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T15:40:29.745Z
- SHA-256 of the archived text
8e7dc78c63ad5b348afe6d8a2f9425832eba15a6863d879aedfda60eb1b7a00a- Stable URL of this page
https://metraipolis.com/documento/dc_d71b44143a39
How to cite
A monadic interpreter and type-and-effect checker — arXiv:2609.07667 — arXiv (en), https://arxiv.org/abs/2609.07667 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d71b44143a39 (Metraipolis archive dc_d71b44143a39, sha256 8e7dc78c63ad5b348afe6d8a2f9425832eba15a6863d879aedfda60eb1b7a00a)
BibTeX
@misc{dcd71b44143a39,
title = {A monadic interpreter and type-and-effect checker — arXiv:2609.07667},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.07667},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d71b44143a39; sha256 8e7dc78c63ad5b348afe6d8a2f9425832eba15a6863d879aedfda60eb1b7a00a},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07667. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
We present a concrete implementation in Haskell of a monadic framework that includes both a small-step interpreter and a type-and-effect checker for the corresponding language. Our approach separates the language syntax from the semantics of its effects. This design allows the interpreter to remain parametric over the underlying monad, while the static checker approximates effects independently of their concrete implementation. The theoretical foundation of this framework-applied to a call-by-value lambda calculus with generic effects represented by operations that produce monadic values and are managed through handlers-was introduced in previous work, where the focus was on proving the soundness of the approach. In contrast, the present work leverages Haskell's support for modular programming and monads to demonstrate that the framework is practically implementable and usable. We illustrate the approach with examples using the monad of exceptions and the one of nondeterminism and expressions both with and without handlers. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-09 in cs.PL). Categorie arXiv: Programming Languages (cs.PL). Pagina del lavoro: https://arxiv.org/abs/2609.07667 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T15:31:42.511Z dalla pagina https://arxiv.org/catchup/cs.PL/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).