How can I unintern a qualified method?-Collection of common programming errors

With AllegroCL 9.0. Xach’s answer did not completely work for me.

The definition of my method:

defmethod my-method* ((expr forall-expr) bindings)

forall-expr is a class and bindings is un-typed. To find the method I had to use:

(find-method #'my-method* '() (mapcar #'find-class '(forall-expr t)))

Then to remove the definition of the method I used:

(remove-method #'my-method* (find-method #'my-method* '() (mapcar #'find-class '(forall-expr t))))

I was able to figure this out from footnote 7 at http://www.gigamonkeys.com/book/object-reorientation-classes.html and the examples from the Lisp HyperSpec for find-method http://clhs.lisp.se/Body/f_find_m.htm.

Originally posted 2013-11-09 23:10:43.