arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1307.8207cs.PLcs.LOcs.SE
收藏

定位装订和标称装订

Reconciling positional and nominal binding

Davide Ancona, Paola Giannini, Elena Zucca

摘要:

我们定义了一个简单类型的λ演算的扩展,其中两种不同的绑定机制,通过位置和名称,很好地共存。在前者中,和标准λ演算一样,参数和自变量之间的匹配是在位置基础上完成的,因此α等价成立,而在后者中,它是在名义基础上完成的。这两种机制也分别对应于静态绑定和动态绑定,静态绑定在编译时检查参数的存在性和类型兼容性,动态绑定在运行时检查参数的存在性和类型兼容性。

英文摘要:

We define an extension of the simply-typed lambda calculus where two different binding mechanisms, by position and by name, nicely coexist. In the former, as in standard lambda calculus, the matching between parameter and argument is done on a positional basis, hence alpha-equivalence holds, whereas in the latter it is done on a nominal basis. The two mechanisms also respectively correspond to static binding, where the existence and type compatibility of the argument are checked at compile-time, and dynamic binding, where they are checked at run-time.

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

↑