A nominal theory of objects with dependent types

被引:0
|
作者
Odersky, M [1 ]
Cremet, V [1 ]
Röckl, C [1 ]
Zenger, M [1 ]
机构
[1] Ecole Polytech Fed Lausanne, INR Ecublens, CH-1015 Lausanne, Switzerland
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We design and study nuObj, a calculus and dependent type system for objects and classes which can have types as members. Type members can be aliases, abstract types, or new types. The type system can model the essential concepts of JAVA's inner classes as well as virtual types and family polymorphism found in BETA or GBETA. It can also model most concepts of SML-style module systems, including sharing constraints and higher-order functors, but excluding applicative functors. The type system can thus be used as a basis for unifying concepts that so far existed in parallel in advanced object systems and in module systems. The paper presents results on confluence of the calculus, soundness of the type system, and undecidability of type checking.
引用
收藏
页码:201 / 224
页数:24
相关论文
共 50 条