Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1001.1662

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Logic in Computer Science

arXiv:1001.1662 (cs)
[Submitted on 11 Jan 2010 (v1), last revised 20 May 2011 (this version, v4)]

Title:States and exceptions considered as dual effects

Authors:Jean-Guillaume Dumas (LJK), Dominique Duval (LJK), Laurent Fousse (LJK), Jean-Claude Reynaud (RC)
View a PDF of the paper titled States and exceptions considered as dual effects, by Jean-Guillaume Dumas (LJK) and 3 other authors
View PDF
Abstract:In this paper we consider the two major computational effects of states and exceptions, from the point of view of diagrammatic logics. We get a surprising result: there exists a symmetry between these two effects, based on the well-known categorical duality between products and coproducts. More precisely, the lookup and update operations for states are respectively dual to the throw and catch operations for exceptions. This symmetry is deeply hidden in the programming languages; in order to unveil it, we start from the monoidal equational logic and we add progressively the logical features which are necessary for dealing with either effect. This approach gives rise to a new point of view on states and exceptions, which bypasses the problems due to the non-algebraicity of handling exceptions.
Subjects: Logic in Computer Science (cs.LO); Category Theory (math.CT)
Cite as: arXiv:1001.1662 [cs.LO]
  (or arXiv:1001.1662v4 [cs.LO] for this version)
  https://doi.org/10.48550/arXiv.1001.1662
arXiv-issued DOI via DataCite

Submission history

From: Dominique Duval [view email] [via CCSD proxy]
[v1] Mon, 11 Jan 2010 14:12:08 UTC (9 KB)
[v2] Thu, 21 Jan 2010 13:38:05 UTC (11 KB)
[v3] Mon, 31 May 2010 09:02:30 UTC (11 KB)
[v4] Fri, 20 May 2011 09:05:16 UTC (37 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled States and exceptions considered as dual effects, by Jean-Guillaume Dumas (LJK) and 3 other authors
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
math
< prev   |   next >
new | recent | 2010-01
Change to browse by:
cs
cs.LO
math.CT

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Jean-Guillaume Dumas
Dominique Duval
Laurent Fousse
Jean-Claude Reynaud
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack