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 条
  • [1] TYPE INFERENCE FOR RECORD CONCATENATION AND MULTIPLE INHERITANCE
    WAND, M
    [J]. FOURTH ANNUAL SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, 1989, : 92 - 97
  • [2] Type inference for record concatenation and subtyping
    Palsberg, J
    Zhao, T
    [J]. INFORMATION AND COMPUTATION, 2004, 189 (01) : 54 - 86
  • [3] Efficient type inference for record concatenation and subtyping
    Palsberg, J
    Zhao, T
    [J]. 17TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2002, : 125 - 136
  • [4] TYPE INFERENCE OF SELF - ANALYSIS OF OBJECTS WITH DYNAMIC AND MULTIPLE INHERITANCE
    AGESEN, O
    PALSBERG, J
    SCHWARTZBACH, MI
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1995, 25 (09): : 975 - 995
  • [5] NONMONOTONIC INFERENCE RULES FOR MULTIPLE INHERITANCE WITH EXCEPTIONS
    SANDEWALL, E
    [J]. PROCEEDINGS OF THE IEEE, 1986, 74 (10) : 1345 - 1353
  • [6] 2-DIRECTIONAL RECORD LAYOUT FOR MULTIPLE INHERITANCE
    PUGH, W
    WEDDELL, G
    [J]. SIGPLAN NOTICES, 1990, 25 (06): : 85 - 91
  • [7] A Calculus with Recursive Types, Record Concatenation and Subtyping
    Zhou, Yaoda
    Oliveira, Bruno C. D. S.
    Fan, Andong
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2022, 2022, 13658 : 175 - 195
  • [8] On Sandewall's paper: Nonmonotonic inference rules for multiple inheritance with exceptions
    Simonet, G
    [J]. ARTIFICIAL INTELLIGENCE, 1996, 86 (02) : 359 - 374
  • [9] TCB: Accelerating Transformer Inference Services with Request Concatenation
    Fu, Boqian
    Chen, Fahao
    Li, Peng
    Zeng, Deze
    [J]. 51ST INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, ICPP 2022, 2022,
  • [10] 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]. ACM SIGPLAN NOTICES, 2011, 46 (10) : 973 - 992