What Monads Can and Cannot Do with a Bit of Extra Time

Research output: Conference Article in Proceeding or Book/Report chapterArticle in proceedingsResearchpeer-review

Abstract

The delay monad provides a way to introduce general recursion in type theory. To write programs that use a wide range of computational effects directly in type theory, we need to combine the delay monad with the monads of these effects. Here we present a first systematic study of such combinations. We study both the coinductive delay monad and its guarded recursive cousin, giving concrete examples of combining these with well-known computational effects. We also provide general theorems stating which algebraic effects distribute over the delay monad, and which do not. Lastly, we salvage some of the impossible cases by considering distributive laws up to weak bisimilarity.
Original languageEnglish
Title of host publication32nd EACSL Annual Conference on Computer Science Logic (CSL 2024)
Number of pages18
Volume288
PublisherSchloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH
Publication date2024
Pages39:1--39:18
Article number39
Publication statusPublished - 2024
EventComputer Science Logic - Italy, Naples, Italy
Duration: 19 Feb 202423 Feb 2024
Conference number: 32
https://csl2024.github.io/Home/

Conference

ConferenceComputer Science Logic
Number32
LocationItaly
Country/TerritoryItaly
CityNaples
Period19/02/202423/02/2024
Internet address

Keywords

  • Distributive Laws
  • Guarded Recursion
  • Type Theory

Fingerprint

Dive into the research topics of 'What Monads Can and Cannot Do with a Bit of Extra Time'. Together they form a unique fingerprint.

Cite this