Scheme with classes, mixins, and traits

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

Abstract

The Scheme language report advocates language design as the composition of a small set of orthogonal constructs, instead of a large accumulation of features. In this paper, we demonstrate how such a design scales with the addition of a class system to Scheme. Specifically, the PLT Scheme class system is a collection of orthogonal linguistic constructs for creating classes in arbitrary lexical scopes and for manipulating them as first-class values. Due to the smooth integration of classes and the core language, programmers can express mixins and traits, two major recent innovations in the object-oriented world. The class system is implemented as a macro in terms of procedures and a record-type generator; the mixin and trait patterns, in turn, are naturally codified as macros over the class system. © Springer-Verlag Berlin Heidelberg 2006.

Cite

CITATION STYLE

APA

Flatt, M., Findler, R. B., & Felleisen, M. (2006). Scheme with classes, mixins, and traits. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4279 LNCS, pp. 270–289). Springer Verlag. https://doi.org/10.1007/11924661_17

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