Inheritance As Implicit Coercion (1991)
| Venue: | Information and Computation |
| Citations: | 104 - 3 self |
BibTeX
@ARTICLE{Breazu-tannen91inheritanceas,
author = {Val Breazu-tannen and Thierry Coquand and Carl A. Gunter and Andre Scedrov},
title = {Inheritance As Implicit Coercion},
journal = {Information and Computation},
year = {1991},
volume = {93}
}
Years of Citing Articles
OpenURL
Abstract
. We present a method for providing semantic interpretations for languages with a type system featuring inheritance polymorphism. Our approach is illustrated on an extension of the language Fun of Cardelli and Wegner, which we interpret via a translation into an extended polymorphic lambda calculus. Our goal is to interpret inheritances in Fun via coercion functions which are definable in the target of the translation. Existing techniques in the theory of semantic domains can be then used to interpret the extended polymorphic lambda calculus, thus providing many models for the original language. This technique makes it possible to model a rich type discipline which includes parametric polymorphism and recursive types as well as inheritance. A central difficulty in providing interpretations for explicit type disciplines featuring inheritance in the sense discussed in this paper arises from the fact that programs can type-check in more than one way. Since interpretations follow the type...







