Extending Functional Languages with High-Level Exception Handling
Keehang Kwon

TL;DR
This paper introduces high-level exception handling constructs into functional languages using sequential-disjunction expressions that select the first successful evaluation, enhancing error management capabilities.
Contribution
It proposes a novel high-level exception handling mechanism with sequential-disjunction expressions and discusses their integration into functional languages.
Findings
Defines semantics for sequential-disjunction expressions
Introduces sequential-conjunction function declarations
Enhances error handling in functional programming
Abstract
We extend functional languages with high-level exception handling. To be specific, we allow sequential-disjunction expressions of the form where are expressions. These expressions have the following intended semantics: sequentially the first successful and evaluate where = 0 or 1. These expressions thus allow us to specify an expression with the failure-handling (exception handling) routine, i.e., expression . We also discuss the class of sequential-conjunction function declarations which is a dual of the former.
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 · Formal Methods in Verification · Model-Driven Software Engineering Techniques
