A duality between exceptions and states
Logic in Computer Science
2011-12-14 v1 Category Theory
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 which recovers from the exception. In this way it becomes apparent that there is a duality, in the categorical sense, between exceptions and states.
Cite
@article{arxiv.1112.2394,
title = {A duality between exceptions and states},
author = {Jean-Guillaume Dumas and Dominique Duval and Laurent Fousse and Jean-Claude Reynaud},
journal= {arXiv preprint arXiv:1112.2394},
year = {2011}
}