[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CLOS needs an UNDEFMETHOD



It appears to be very difficult to write an UNDEFMETHOD in standard CLOS.  I
suggest one be provided.

I would like :
(defmacro UNDEFMETHOD (method-name {method-qualifiers}* argument-specifiers))

I order to write this I had to call in order :

  ENSURE-GENERIC-FUNCTION 
This appears to be the only way to get the generic function object from a
symbol name.
  FIND-CLASS
To turn the specifier symbols into class names.
  FIND-METHOD
To find the method after parsing the qualifiers and specializers.
  REMOVE-METHOD

This was quite an ordeal to create a fairly standard developing tool.  Since
UNDEFMETHOD is used quite often, I suggest it be added to the CLOS spec.

-- jim
salem@think.com