From: Stefan Monnier Date: Mon, 19 Sep 2022 11:39:21 +0000 (-0400) Subject: * doc/misc/eieio.texi (Introduction, Generics): Remove outdated limits X-Git-Tag: emacs-29.0.90~1856^2~372^2~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c464bcb20a53a15e0d07209c73547d9b74cb9a1a;p=emacs.git * doc/misc/eieio.texi (Introduction, Generics): Remove outdated limits Reported by Hokomo . --- diff --git a/doc/misc/eieio.texi b/doc/misc/eieio.texi index 18a2b74033e..b1ec5c0dce7 100644 --- a/doc/misc/eieio.texi +++ b/doc/misc/eieio.texi @@ -193,7 +193,7 @@ also differs in some other aspects which are mentioned below (also @enumerate @item A structured framework for the creation of basic classes with attributes -and methods using singular inheritance similar to CLOS. +and methods using inheritance similar to CLOS. @item Type checking, and slot unbinding. @item @@ -225,11 +225,6 @@ lacks: @table @asis -@item Method dispatch -EIEO does not support method dispatch for built-in types and multiple -arguments types. In other words, method dispatch only looks at the -first argument, and this one must be an @eieio{} type. - @item Support for metaclasses There is just one default metaclass, @code{eieio-default-superclass}, and you cannot define your own. The @code{:metaclass} tag in @@ -856,11 +851,6 @@ You can also create a generic method with @code{cl-defmethod} (@pxref{Methods}). When a method is created and there is no generic method in place with that name, then a new generic will be created, and the new method will use it. - -In CLOS, a generic method can also be used to provide an argument list -and dispatch precedence for all the arguments. In @eieio{}, -dispatching only occurs for the first argument, so the @var{arglist} -is not used. @end defmac @node Methods