Explicitly Typed lambda µ-Calculus for Polymorphism an Call-by-Value
Explicitly Typed lambda µ-Calculus for Polymorphism an Call-by-Value
复制标题
用于多态性和按值调用的显式类型 lambda µ 演算
DOI:
10.1007/3-540-48959-2_13
复制
发表时间:
1999
期刊:
影响因子:
--
通讯作者:
Ken
中科院分区:
文献类型:
--
作者:
Ken
We introduce an explicitly typed λμ-calculus of call-by-value as a short-hand for the 2nd order Church-style. Our motivation comes from the observation that in Curry-style polymorphic calculi, control operators such as callcc orμ-operators cannot, in general, treat the terms placed on the control operator’s left. Following the continuation semantics, we also discuss the notion of values in classical system, and propose an extended form of values. It is shown that the CPS-translation is sound with respect to λ2 (2nd order λ-calculus). Next, we provide an explicitly and an implicitly typed Damas-Milner systems withμ-operators. Finally, we give a brief comparison with standard ML plus callcc, and discuss a natural way to avoid the unsoundness of ML with callcc.