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 条
  • [1] A DEPENDENT NOMINAL TYPE THEORY
    Cheney, James
    LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (01)
  • [2] Imperative Objects with Dependent Types
    Campos, Joana
    Vasconcelos, Vasco T.
    17TH WORKSHOP ON FORMAL TECHNIQUES FOR JAVA-LIKE PROGRAMS (FTFJP 2015), 2015,
  • [3] Nominal Types for Erlang
    Huang, Isabell
    Hogberg, John
    PROCEEDINGS OF THE 23RD ACM SIGPLAN INTERNATIONAL WORKSHOP ON ERLANG, ERLANG 2024, 2024, : 24 - 32
  • [4] Nominal essential intersection types
    Ayala-Rincon, Mauricio
    Fernandez, Maribel
    Rocha-Oliveira, Ana Cristina
    Ventura, Daniel Lima
    THEORETICAL COMPUTER SCIENCE, 2018, 737 : 62 - 80
  • [5] Binary Classification of Objects with Nominal Indicators
    Goryainova, E. R.
    Slepneva, T. I.
    ZHURNAL NOVAYA EKONOMICHESKAYA ASSOTSIATSIYA-JOURNAL OF THE NEW ECONOMIC ASSOCIATION, 2012, (02): : 27 - 49
  • [6] Russell's Relations, Wittgenstein's Objects, and the Theory of Types
    Lando, Giorgio
    TEOREMA, 2012, 31 (02): : 21 - 35
  • [8] Guarded Dependent Type Theory with Coinductive Types
    Bizjak, Ales
    Grathwohl, Hans Bugge
    Clouston, Ranald
    Mogelberg, Rasmus E.
    Birkedal, Lars
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2016), 2016, 9634 : 20 - 35
  • [9] Null objects, null nominal anaphora and antilogophoricity
    Barbosa, Pilar
    PROBUS, 2024, 36 (02) : 251 - 281
  • [10] Type Theory based on Dependent Inductive and Coinductive Types
    Basold, Henning
    Geuvers, Herman
    PROCEEDINGS OF THE 31ST ANNUAL ACM-IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2016), 2016, : 327 - 336