About raising and handling exceptions
Dominique Duval (LMC - IMAG), Jean-Claude Reynaud (LSR - IMAG)

TL;DR
This paper introduces a unified framework for exception handling using diagrammatic logic and extensive sums, emphasizing the role of generalized extensivity with minimal category theory assumptions.
Contribution
It develops a new perspective on exceptions as generalized case distinctions, utilizing extensive sums and a restricted categorical approach.
Findings
Framework unifies deduction system and denotational semantics for exceptions
Highlights the importance of generalized extensivity in exception handling
Reduces reliance on complex category theory concepts
Abstract
This paper presents a unified framework for dealing with a deduction system and a denotational semantics of exceptions. It is based on the fact that handling exceptions can be seen as a kind of generalized case distinction. This point of view on exceptions has been introduced in 2004, it is based on the notion of diagrammatic logic, which assumes some familiarity with category theory. Extensive sums of types can be used for dealing with case distinctions. The aim of this new paper is to focus on the role of generalized extensivity property for dealing with exceptions. Moreover, the presentation of this paper makes only a restricted use of category theory.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Logic, Reasoning, and Knowledge · Semantic Web and Ontologies
