arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1709.04619cs.PL
收藏

用高级异常处理扩展函数式语言

Extending Functional Languages with High-Level Exception Handling

Keehang Kwon

摘要:

我们用高级异常处理扩展了函数式语言。具体来说,我们允许$E_0 \bigtriangledown E_1$形式的顺序析取表达式,其中$E_0, E_1$是表达式。这些表达式具有以下预期的语义:顺序地$choose$第一个成功的$E_i$,并计算$E_i$,其中$i$ = 0或1。因此,这些表达式允许我们用故障处理(异常处理)例程指定表达式$E_0$,即,表达$E_1$。我们还讨论了顺序合取函数声明类,它是前者的对偶。

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑