pith. sign in

arxiv: 1401.5391 · v1 · pith:VBO3YUFXnew · submitted 2014-01-21 · 💻 cs.PL

The semantic marriage of monads and effects

classification 💻 cs.PL
keywords semanticseffectindexedsystemscorrespondencegivesmonadsunified
0
0 comments X
read the original abstract

Wadler and Thiemann unified type-and-effect systems with monadic semantics via a syntactic correspondence and soundness results with respect to an operational semantics. They conjecture that a general, "coherent" denotational semantics can be given to unify effect systems with a monadic-style semantics. We provide such a semantics based on the novel structure of an indexed monad, which we introduce. We redefine the semantics of Moggi's computational lambda-calculus in terms of (strong) indexed monads which gives a one-to-one correspondence between indices of the denotations and the effect annotations of traditional effect systems. Dually, this approach yields indexed comonads which gives a unified semantics and effect system to contextual notions of effect (called coeffects), which we have previously described.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Same Coeffect, Different Base: Connecting Two Dominant Approaches to Graded Types

    cs.PL 2026-06 conditional novelty 8.0

    Translations between graded-base and linear-base graded coeffect calculi establish that both express the same context dependence while preserving types, grades, and operational semantics.