[Ecls-list] Method specialization error

Juan Jose Garcia Ripoll lisp at arrakis.es
Tue Jan 10 12:20:02 UTC 2006


On Tue, 2006-01-10 at 12:14 -0800, Greg Pfeil wrote:
> Of course, specialization can happen on any type, not just classes, 

This is wrong. From DEFMETHOD in Hyperspec

"The specialized-lambda-list argument is like an ordinary lambda list
except that the names of required parameters can be replaced by
specialized parameters. A specialized parameter is a list of the form
(var parameter-specializer-name). Only required parameters can be
specialized. If parameter-specializer-name is a symbol it names a class;
if it is a list, it is of the form (eql eql-specializer-form)."

At some point I will implement a FIXNUM class, if only because people
typically write code for CMUCL and expect this class to be there, though
it does not belong to the standard.

Juanjo





More information about the ecl-devel mailing list