Skip to main content
×
Home
    • Aa
    • Aa

A duality between exceptions and states

  • JEAN-GUILLAUME DUMAS (a1), DOMINIQUE DUVAL (a1), LAURENT FOUSSE (a1) and JEAN-CLAUDE REYNAUD (a2)
Abstract

In this short note we study the semantics of two basic computational effects, exceptions and states, from a new point of view. In the handling of exceptions we dissociate the control from the elementary operation that recovers from the exception. In this way it becomes apparent that there is a duality, in the categorical sense, between exceptions and states.

Copyright
References
Hide All
Dumas J.-G., Duval D., Fousse L. and Reynaud J.-C. (2010) States and exceptions considered as dual effects. Available at arXiv:1001.1662 v4.
Levy P. B. (2006) Monads and adjunctions for global exceptions. MFPS 2006. Electronic Notes in Theoretical Computer Science 158 261287.
Moggi E. (1991) Notions of Computation and Monads. Information and Computation 93 (1)5592.
Plotkin G. D. and Power J. (2002) Notions of Computation Determine Monads. FoSSaCS 2002. Springer-Verlag Lecture Notes in Computer Science 2303 342356.
Plotkin G. D. and Pretnar M. (2009) Handlers of Algebraic Effects. ESOP 2009. Springer-Verlag Lecture Notes in Computer Science 5502 8094.
Schröder L. and Mossakowski T. (2004) Generic Exception Handling and the Java Monad. AMAST 2004. Springer-Verlag Lecture Notes in Computer Science 3116 443459.
Recommend this journal

Email your librarian or administrator to recommend adding this journal to your organisation's collection.

Mathematical Structures in Computer Science
  • ISSN: 0960-1295
  • EISSN: 1469-8072
  • URL: /core/journals/mathematical-structures-in-computer-science
Please enter your name
Please enter a valid email address
Who would you like to send this to? *
×

Metrics

Full text views

Total number of HTML views: 0
Total number of PDF views: 2 *
Loading metrics...

Abstract views

Total abstract views: 113 *
Loading metrics...

* Views captured on Cambridge Core between September 2016 - 21st October 2017. This data will be updated every 24 hours.