English

Extending Functional Languages with High-Level Exception Handling

Programming Languages 2018-12-27 v2

Abstract

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

Cite

@article{arxiv.1709.04619,
  title  = {Extending Functional Languages with High-Level Exception Handling},
  author = {Keehang Kwon},
  journal= {arXiv preprint arXiv:1709.04619},
  year   = {2018}
}

Comments

3 pages. We discuss the notion of exception handling and its dual in functional languages

R2 v1 2026-06-22T21:42:42.983Z