arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1112.2394cs.LOmath.CT
收藏

例外和状态之间的二元性

A duality between exceptions and states

Jean-Guillaume Dumas, Dominique Duval, Laurent Fousse, Jean-Claude Reynaud

摘要:

在这个简短的说明中,我们研究了两个基本的计算效果,异常和状态的语义,从一个新的角度来看。在处理异常时,我们将控制与从异常中恢复的基本操作分离。这样,在绝对意义上,在例外和状态之间存在着二元性就变得很明显了。

英文摘要:

In this short note we study the semantics of two basic computational effects, exceptions and states, from a new point of view. In the handling of exceptions we dissociate the control from the elementary operation which recovers from the exception. In this way it becomes apparent that there is a duality, in the categorical sense, between exceptions and states.

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

↑