Fine-grained function visibility for multiple dispatch with multiple inheritance

1Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Object-oriented languages with multiple dispatch and multiple inheritance provide rich expressiveness but statically and modularly checking programs in such languages to guarantee that no ambiguous calls can occur at run time has been a difficult problem. We present a core calculus for Fortress, which provides various language features-notably functional methods and components- and solves the problem. Functional methods are declared within traits and may be inherited but are invoked by ordinary function calls, and therefore compete in overloading resolution with ordinary function declarations. A novel component system governs "visibility" of types and functions, and allows fine-grained control over the import of overloaded functions. We formally define the type system of Fortress with a set of static rules to guarantee no ambiguous calls at run time, and mechanize the calculus and its type safety proof in COQ. © Springer International Publishing 2013.

Cite

CITATION STYLE

APA

Kim, J., Ryu, S., Luchangco, V., & Steele, G. L. (2013). Fine-grained function visibility for multiple dispatch with multiple inheritance. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8301 LNCS, pp. 156–171). https://doi.org/10.1007/978-3-319-03542-0_11

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free