[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
As you read this, it is important to know that I have just recently learned some of the CLOS syntax, but have never used it myself outside of the EIEIO framework. I'm primarily and Emacs Lisp hacker who wrote EIEIO to help myself learn some of the mechanics of Object Oriented programming.
Currently, the following functions should behave almost as expected from CLOS.
defclass
typep
function from the `cl'
package. @xref{(cl)Type Predicates}. It therefore has the same issues as
that package. Extensions include the ability to provide object names.
Defclass also supports class options, but does not currently use values
of :metaclass
, and :default-initargs
.
make-instance
defgeneric
:AROUND
.
defmethod
:AROUND
tag is not supported.
call-next-method
setf
(setf (slot-value object slot) t)
should
work.
CLOS supports the describe
command, but eieio only provides
eieio-describe-class
, and eieio-describe-generic
. These
functions are adviced into describe-variable
, and
describe-function
.
When creating a new class (see section 3. Building Classes) there are several new keywords supported by EIEIO.
In EIEIO tags are in lower case, not mixed case.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by XEmacs shared group account on December, 19 2009
using texi2html 1.65.