Abstract for "Classes in Object ML via Modules"
Classes in Object ML via Modules
John H. Reppy and Jon G. Riecke. To appear in Third Workshop on Foundations of Object-Oriented Languages. July, 1996.

Abstract: We describe a simple encoding of classes in Object ML (OML) using the Standard ML (SML) module system. We show how to mimic class-based implementation inheritance using an extension of Abadi and Cardelli's "pre-methods". We also show how to encode other various class-based features, such as static members, protected members, and multiple inheritance. Our thesis is that the rich scoping discipline provided by SML has enough power to encode various aspects of the class systems of C++ and other languages.