递归的一种静默模态
A Light Modality for Recursion
AI总结:
本文提出一种语法上静默的模态,用于控制无限结构上递归函数式程序的行为,将递归控制负担从程序员转移到编译器,并引入带静默模态和守护递归类型的类型化lambda演算,保证归一化且可推断类型。
摘要:
我们研究了用于控制递归函数式程序在无限结构上行为的模态与语法中完全静默的模态之间的相互作用。后者意味着程序不包含显示模态引入和消除规则应用的“标记”。这将控制递归的负担从程序员转移到编译器。为此,我们引入了一个柯里风格的带静默模态和守护递归类型的类型化lambda演算。该类型规则保证归一化,并可转化为一个推断程序类型的算法。
英文摘要:
We investigate the interplay between a modality for controlling the behaviour of recursive functional programs on infinite structures which are completely silent in the syntax. The latter means that programs do not contain "marks" showing the application of the introduction and elimination rules for the modality. This shifts the burden of controlling recursion from the programmer to the compiler. To do this, we introduce a typed lambda calculus a la Curry with a silent modality and guarded recursive types. The typing discipline guarantees normalisation and can be transformed into an algorithm which infers the type of a program.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。