Extending Functional Languages with High-Level Exception Handling

Abstract

We extend functional languages with high-level exception handling. To be specific, we allow sequential-disjunction expressions of the form E0 E1 where E0, E1 are expressions. These expressions have the following intended semantics: sequentially choose the first successful Ei and evaluate Ei where i = 0 or 1. These expressions thus allow us to specify an expression E0 with the failure-handling (exception handling) routine, i.e., expression E1. We also discuss the class of sequential-conjunction function declarations which is a dual of the former.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…