Monadic Type-And-Effect Soundness

Francesco Dagnino, Paola Giannini, Elena Zucca

Risultato della ricerca: Capitolo in libro/report/atti di convegnoContributo a conferenzapeer review

Abstract

We introduce the abstract notions of monadic operational semantics, a small-step semantics where computational effects are modularly modeled by a monad, and type-and-effect system, including effect types whose interpretation lifts well-typedness to its monadic version. In this meta-theory, as usual in the non-monadic case, we can express progress and subject reduction, and provide a proof, given once and for all, that they imply soundness. The approach is illustrated on a lambda calculus with generic effects, equipped with an expressive type-and-effect system We provide proofs of progress and subject reduction, parametric on the interpretation of effect types. In this way, we obtain as instances many significant examples, such as checking exceptions, preventing/limiting non-determinism, constraining order/fairness of outputs. We also provide an extension with constructs to raise and handle computational effects, which can be instantiated to model different policies.

Lingua originaleInglese
Titolo della pubblicazione ospite39th European Conference on Object-Oriented Programming, ECOOP 2025
EditorJonathan Aldrich, Alexandra Silva
EditoreSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (elettronico)9783959773737
DOI
Stato di pubblicazionePubblicato - 25 giu 2025
Evento39th European Conference on Object-Oriented Programming, ECOOP 2025 - Bergen, Norway
Durata: 30 giu 20252 lug 2025

Serie di pubblicazioni

NomeLeibniz International Proceedings in Informatics, LIPIcs
Volume333
ISSN (stampa)1868-8969

???event.eventtypes.event.conference???

???event.eventtypes.event.conference???39th European Conference on Object-Oriented Programming, ECOOP 2025
Paese/TerritorioNorway
CittàBergen
Periodo30/06/252/07/25

Fingerprint

Entra nei temi di ricerca di 'Monadic Type-And-Effect Soundness'. Insieme formano una fingerprint unica.

Cita questo