TYPE INFERENCE FOR RECORD CONCATENATION AND MULTIPLE INHERITANCE

被引:34
|
作者
WAND, M
机构
[1] College of Computer Science, Northeastern University, Boston, MA 02115, 360 Huntington Avenue
关键词
D O I
10.1016/0890-5401(91)90050-C
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We show that the type inference problem for a lambda calculus with records, including a record concatenation operator, is decidable. We show that this calculus does not have principal types, but does have finite complete sets of types: that is, for any term M in the calculus, there exists an effectively generable finite set of type schemes such that every typing for M is an instance of one of the schemes in the set. We show how a simple model of object-oriented programming, including hidden instance variables and multiple inheritance, may be coded in this calculus. We conclude that type inference is decidable for object-oriented programs, even with multiple inheritance and classes as first-class values. © 1991.
引用
收藏
页码:1 / 15
页数:15
相关论文
共 50 条
  • [11] Type Checking Modular Multiple Dispatch with Parametric Polymorphism and Multiple Inheritance
    Allen, Eric
    Hilburn, Justin
    Kilpatrick, Scott
    Luchangco, Victor
    Ryu, Sukyoung
    Chase, David
    Steele, Guy L., Jr.
    [J]. OOPSLA 11: PROCEEDINGS OF THE 2011 ACM INTERNATIONAL CONFERENCE ON OBJECT ORIENTED PROGRAMMING SYSTEMS LANGUAGES AND APPLICATIONS, 2011, : 973 - 992
  • [12] Concatenation of Multiple Features for Face Recognition
    Reddy, Viswanath K.
    Gangal, Shruthi B.
    [J]. SMART TRENDS IN INFORMATION TECHNOLOGY AND COMPUTER COMMUNICATIONS, SMARTCOM 2016, 2016, 628 : 558 - 564
  • [13] Analysis of inheritance and multiple inheritance
    Willis, CP
    [J]. SOFTWARE ENGINEERING JOURNAL, 1996, 11 (04): : 215 - 224
  • [14] Static type inference for a first-order declarative visual programming language with inheritance
    Djang, RW
    Burnett, MM
    Chen, RD
    [J]. JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2000, 11 (02): : 191 - 235
  • [15] EXTRACTING INHERITANCE HIERARCHIES FROM PROLOG PROGRAMS - A SYSTEM BASED ON THE INFERENCE OF TYPE RELATIONS
    SOLNON, C
    RUEHER, M
    [J]. LOGIC PROGRAMMING AND AUTOMATED REASONING, 1993, 698 : 309 - 320
  • [16] Multiple Concatenation and State Complexity (Extended Abstract)
    Jirasek, Jozef
    Jiraskova, Galina
    [J]. DESCRIPTIONAL COMPLEXITY OF FORMAL SYSTEMS, DCFS 2020, 2020, 12442 : 78 - 90
  • [17] Inference for Type-I and Type-II Hybrid Censored Minimal Repair and Record Data
    Berzborn, Moritz
    Cramer, Erhard
    [J]. JOURNAL OF STATISTICAL THEORY AND PRACTICE, 2023, 17 (04)
  • [18] Inference for Type-I and Type-II Hybrid Censored Minimal Repair and Record Data
    Moritz Berzborn
    Erhard Cramer
    [J]. Journal of Statistical Theory and Practice, 2023, 17
  • [19] An operational semantics and type safety proof for multiple inheritance in C++
    Wasserrab, Daniel
    Nipkow, Tobias
    Snelting, Gregor
    Tip, Frank
    [J]. ACM SIGPLAN NOTICES, 2006, 41 (10) : 345 - 362
  • [20] Default Inheritance in Modified Statements: Bias or Inference?
    Stroessner, Corina
    [J]. FRONTIERS IN PSYCHOLOGY, 2021, 12