Conference Proceedings on Object-Oriented Programming Systems, Languages, and Applications 1991
DOI: 10.1145/117954.117963
|View full text |Cite
|
Sign up to set email alerts
|

Static type checking of multi-methods

Abstract: Multi-methods allow method selection to be based on the types of any number of arguments.Languages that currently support multi-methods do not support static type checking. We show how multi-methods can be statically type checked and how information collected at the time of program compilation can be used to make the run-time dispatch of multi-methods more efficient. The results presented can provide the basis for introducing multi-methods in languages with static type checking and for designing new object-ori… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
28
0

Year Published

1995
1995
2011
2011

Publication Types

Select...
5
2
1

Relationship

0
8

Authors

Journals

citations
Cited by 61 publications
(28 citation statements)
references
References 10 publications
0
28
0
Order By: Relevance
“…This is analogous to the problem that arises in multiple dispatching as needed for multi-methods (cf. [1,6]), since choosing a method requires the run-time type not of a single input element, but of a set of input elements. Thus, the method whose run-time types most closely match the statically specified types should be dispatched at run-time.…”
Section: (D))mentioning
confidence: 99%
“…This is analogous to the problem that arises in multiple dispatching as needed for multi-methods (cf. [1,6]), since choosing a method requires the run-time type not of a single input element, but of a set of input elements. Thus, the method whose run-time types most closely match the statically specified types should be dispatched at run-time.…”
Section: (D))mentioning
confidence: 99%
“…In this section, we introduce our notations for the types and methods of a schema, mostly defined in [ADL91]. Then, we define the behavioral consistency rules and how they impact on structural consistency through encapsulation.…”
Section: Schema Consistencymentioning
confidence: 99%
“…We focus on the motivations for such an approach and the type checking of statements in the presence of exceptions to behavioral consistency. Our results apply to object-oriented databases that support run-time method selection using either a single method's argument (mono-methods) or all method's arguments (multi-methods) as in recent systems like CLOS [BDG 88], Polyglot [ADL91], and Cecil [Cha92].…”
Section: Introductionmentioning
confidence: 99%
“…The message-passing style of method invocation restricts the way in which relations between objects can be expressed [2].…”
Section: Introductionmentioning
confidence: 99%
“…In order to model a computational domain such as the matrix domain it is desirable to also support functions with more than one argument, corresponding to multi-methods [2] in object-oriented languages. This provides a natural way to represent, e.g., matrix operators applied on various kinds of matrix representations.…”
Section: Introductionmentioning
confidence: 99%