2007 · 24 citations · 6 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesSystems ProgrammingFunctional ProgrammingObject-oriented ProgrammingType CheckingType SystemsMethod OverloadingMultiple InheritanceObject-oriented ArchitectureObject-oriented Language DesignOverloading ResolutionStatic Type Checking
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.
6
Common Lisp Object System specification
Daniel G. Bobrow, Linda G. DeMichiel, Richard P. Gabriel et al. · ACM SIGPLAN Notices · 1988 · 381 citations
Curtis Clifton, Todd Millstein, Gary T. Leavens et al. · ACM Transactions on Programming Languages and Systems · 2006 · 106 citations · Full text
Modular Statically Typed Multimethods
Todd Millstein, Craig Chambers · Information and Computation · 2002 · 66 citations
Todd Millstein, Mark Reay, Craig Chambers · 2003 · 44 citations