ACM Home Page
Please provide us with feedback. Feedback
Modular multiple dispatch with multiple inheritance
Full text PdfPdf (180 KB)
Source Symposium on Applied Computing archive
Proceedings of the 2007 ACM symposium on Applied computing table of contents
Seoul, Korea
SESSION: Object oriented programming languages and systems table of contents
Pages: 1117 - 1121  
Year of Publication: 2007
ISBN:1-59593-480-4
Authors
Eric Allen  Sun Microsystems
J. J. Hallett  Sun Microsystems
Victor Luchangco  Sun Microsystems
Sukyoung Ryu  Sun Microsystems
Guy L. Steele, Jr.  Sun Microsystems
Sponsor
SIGAPP: ACM Special Interest Group on Applied Computing
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 12,   Downloads (12 Months): 54,   Citation Count: 2
Additional Information:

abstract   references   cited by   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/1244002.1244245
What is a DOI?

ABSTRACT

Overloaded functions and methods with multiple dispatch are useful for extending the functionality of existing classes in an object-oriented language. However, such functions introduce the possibility of ambiguous calls that cannot be resolved at run time, and modular static checking that such ambiguity does not exist has proved elusive in the presence of multiple implementation inheritance. We present a core language for defining overloaded functions and methods that supports multiple dispatch and multiple inheritance, together with a set of restrictions on these definitions that can be statically and modularly checked. We have proved that these restrictions guarantee that no undefined nor ambiguous calls occur at run time, while still permitting various kinds of overloading.


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
E. Allen, D. Chase, J. Hallett, V. Luchangco, J.-W. Maessen, S. Ryu, G. L. Steele Jr., and S. Tobin-Hochstadt. The Fortress Language Specification Version 1.0 α, Sept. 2006.
2
 
3
4
5
 
6
K. Lee and C. Chambers. Parameterized modules for classes and extensible functions. In Proceedings of the 20th European Conference on Object-Oriented Programming. Springer-Verlag, 2006.
 
7
8
 
9
T. Millstein and C. Chambers. Modular statically typed multimethods. Information and Computation, 175(1):76--118, May 2002.
10
 
11
N. Schärli, S. Ducasse, O. Nierstrasz, and A. Black. Traits: Composable units of behavior. In Proceedings of the 17th European Conference on Object-Oriented Programming. Springer, July 2003.


Collaborative Colleagues:
Eric Allen: colleagues
J. J. Hallett: colleagues
Victor Luchangco: colleagues
Sukyoung Ryu: colleagues
Guy L. Steele, Jr.: colleagues