ACM Home Page
Please provide us with feedback. Feedback
Correspondence polymorphism for object-oriented languages
Full text PdfPdf (1.93 MB)
Source Conference on Object Oriented Programming Systems Languages and Applications archive
Proceedings of the 14th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications table of contents
Denver, Colorado, United States
Pages: 167 - 186  
Year of Publication: 1999
ISBN:1-58113-238-7
Also published in ...
Authors
Ran Rinat  Institute of Computer Science, Hebrew University, Israel
Menachem Magidor  Institute of Mathematics, Hebrew University, Israel
Scott F. Smith  Department of Computer Science, The Johns Hopkins University
Sponsor
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 0,   Downloads (12 Months): 23,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/320384.320399
What is a DOI?

ABSTRACT

In this paper we propose a new form of polymorphism for object-oriented languages, called correspondence polymorphism. It lies in a different dimension than either parametric or subtype polymorphism. In correspondence polymorphism, some methods are declared to correspond to other methods, via a correspondence relation. With this relation, it is possible to reuse non-generic code in various type contexts—not necessarily subtyping or matching contexts—without having to plan ahead for this reuse. Correspondence polymorphism has advantages over other expressive object type systems in that programmer-declared types still may be simple, first-order types that are easily understood. We define a simple language LCP that reflects these new ideas, illustrating its behavior with multiple examples. We present formal type rules and an operational semantics for LCP, and establish soundness of the type system with respect to reduction.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
3
4
 
5
K. Bruce. Typing in object-oriented languages: achieving expressiveness and safety. Technical report, Williams College, 1996.
 
6
 
7
 
8
Kim B. Bruce and Joseph C. Vanderwaart. Semantic-driven language design: type-safe virtual types in object-oriented languages. In Proceedings o} MFPS 99, Electronic Notes in Theoretical Computer Science, to appear.
9
 
10
11
12
13
 
14
 
15
 
16
 
17
 
18
Kresten Krab Thorup. Genericity in java with virtual types. In LNCS Vol. 1241: ECOOP '97 conference proceedings. Springer-Verlag, 1997.

Collaborative Colleagues:
Ran Rinat: colleagues
Menachem Magidor: colleagues
Scott F. Smith: colleagues