A duality between exceptions and states

Jean‐Guillaume Dumas, Dominique Duval, Laurent Fousse, Jean-Claude Reynaud · Mathematical Structures in Computer Science · 2012

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.

Read the paper · More papers on PaperTik