Skip to main content
Kent Academic Repository

The semantic marriage of monads and effects

Orchard, Dominic A. and Petricek, Tomas and Mycroft, Alan (2014) The semantic marriage of monads and effects. [Preprint] (doi:10.48550/arXiv.1401.5391) (The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided) (KAR id:57492)

The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided.
Official URL:
http://arxiv.org/abs/1401.5391

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 ?-calculus in terms of (strong) indexed monads which gives a oneto-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

Item Type: Preprint
DOI/Identification number: 10.48550/arXiv.1401.5391
Refereed: No
Other identifier: http://arxiv.org/abs/1401.5391
Name of pre-print platform: arXiv
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Dominic Orchard
Date Deposited: 05 May 2017 13:40 UTC
Last Modified: 10 Oct 2023 11:01 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/57492 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.