Clos Solutions to Binary Methods

13 years 8 months ago
Clos Solutions to Binary Methods
Abstract—Implementing binary methods in traditional object-oriented languages is difficult: numerous problems arise, such as typing (covariance vs. contravariance of the arguments), polymorphism on multiple arguments (lack of multi-methods) etc. The purpose of this paper is to demonstrate how those problems are either solved, or nonexistent in the Common Lisp Object System (Clos). Several solutions for implementing binary methods in Clos are proposed. They mainly consist in re-programming a binary method specific object system through the Clos meta-object protocol (Mop).
Didier Verna
Added 29 Oct 2010
Updated 29 Oct 2010
Type Conference
Year 2007
Authors Didier Verna
Comments (0)