Polymorphic type assignment and CPS conversion
Polymorphic type assignment and CPS conversion
复制标题
多态类型赋值和 CPS 转换
DOI:
10.1007/bf01019463
复制
发表时间:
1993
期刊:
影响因子:
--
通讯作者:
Mark Lillibridge
中科院分区:
文献类型:
--
作者:
R. Harper;Mark Lillibridge
Meyer and Wand established that the type of a term in the simply typed λ-calculus may be related in a straightforward manner to the type of its call-by-value CPS transform. This typing property may be extended to Scheme-like continuation-passing primitives, from which the soundness of these extensions follows. We study the extension of these results to the Damas-Milner polymorphic type assignment system under both the call-by-value and call-by-name interpretations. We obtain CPS transforms for the call-by-value interpretation, provided that the polymorphic let is restricted to values. and for the call-by-name interpretation with no restrictions. We prove that there is no call-by-value CPS transform for the full Damas-Milner language that validates the Meyer-Wand typing property and is equivalent to the standard call-by-value transform up to operational equivalence.