1996
DOI: 10.1145/232629.232654
|View full text |Cite
|
Sign up to set email alerts
|

Mixin modules

Abstract: Mixin modules are proposed as a new construct for module languages, allowing recursive definitions to span module boundaries. Mixin modules are proposed specifically for the Standard ML language. Several applications are described, including the resolution of cycles in module import dependency graphs, as well as functionality related to Haskell type classes and CLOS generic functions, though without any complications to the core language semantics. Mixin modules require no changes to the core ML type system, a… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
25
0

Year Published

1998
1998
2012
2012

Publication Types

Select...
6
2
1

Relationship

0
9

Authors

Journals

citations
Cited by 21 publications
(25 citation statements)
references
References 19 publications
0
25
0
Order By: Relevance
“…Scala's design of mixins comes from object-oriented linear mixins [3], but defines mixin composition in a symmetric way, similar to what is found in mixin modules [8,18] or traits [41]. Jiazzi [30] is an extension of Java that adds a module mechanism based on units [15], a powerful form of parametrized modules.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Scala's design of mixins comes from object-oriented linear mixins [3], but defines mixin composition in a symmetric way, similar to what is found in mixin modules [8,18] or traits [41]. Jiazzi [30] is an extension of Java that adds a module mechanism based on units [15], a powerful form of parametrized modules.…”
Section: Related Workmentioning
confidence: 99%
“…Mixin class composition in Scala is a fusion of the objectoriented, linear mixin composition of Bracha [3], and the more symmetric approaches of mixin modules [8,18] and traits [41]. To start with an example, consider the following abstraction for iterators.…”
Section: Modular Mixin Compositionmentioning
confidence: 99%
“…His mixins do not address the initialization issue. Duggan and Sourelis [10] extended his proposal and adapted it to ML. In their system, a mixin comprises a body, containing only function and data-type definitions, surrounded by a prelude and an initialization section, containing arbitrary computations.…”
Section: Related Workmentioning
confidence: 99%
“…Most typed object-oriented languages provide object polymorphism a few o er parametric polymorphism. 6 Pizza's parametric polymorphism greatly facilitates the implementation of Extensible Visitors. 7 To illustrate this point in more detail, we c o n trast the Pizza implementation with one in Java.…”
Section: Typesmentioning
confidence: 99%