Hostname: page-component-77f85d65b8-grvzd Total loading time: 0 Render date: 2026-03-29T09:33:56.049Z Has data issue: false hasContentIssue false

A duality between exceptions and states

Published online by Cambridge University Press:  08 May 2012

JEAN-GUILLAUME DUMAS
Affiliation:
LJK, Université de Grenoble, France Email: Jean-Guillaume.Dumas@imag.fr; Dominique.Duval@imag.fr; Laurent.Fousse@imag.fr
DOMINIQUE DUVAL
Affiliation:
LJK, Université de Grenoble, France Email: Jean-Guillaume.Dumas@imag.fr; Dominique.Duval@imag.fr; Laurent.Fousse@imag.fr
LAURENT FOUSSE
Affiliation:
LJK, Université de Grenoble, France Email: Jean-Guillaume.Dumas@imag.fr; Dominique.Duval@imag.fr; Laurent.Fousse@imag.fr
JEAN-CLAUDE REYNAUD
Affiliation:
Malhivert, Claix, France Email: Jean-Claude.Reynaud@imag.fr

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.

Information

Type
Paper
Copyright
Copyright © Cambridge University Press 2012

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable