
CLOS Binary
Methods
Didier Verna
Introduction
Non-issues
Types, Classes,
Inheritance
Method comb.
Usage
Introspection
Binary function class
Implementation
Misimplementations
Bin Completeness
Conclusion
The CLOS Meta-Object Protocol
aka the CLOS MOP
CLOS itself is object-oriented
The CLOS MOP: a de facto implementation standard
The CLOS components (classes etc.) are
(meta-)objects of some (meta-)classes
Generic functions are meta-objects of the
standard-generic-function meta-class
⇒ We can subclass standard-generic-function
The binary-function meta-class
( defclass bi na ry − f u nc ti on ( sta ndar d−ge neri c−f unct ion )
( )
( : met a c l ass fu nc all ab l e− sta nd ard −c las s ) )
( defmacro d e fb in a ry ( function−name lam bda −li st &r e st o pt io ns )
‘ ( defgeneric , function−name , lam bda −li st
( : ge ner ic −fu nct ion −cl as s bi na ry − fu nc ti on )
, @options ) )
24/36