Subject: Re: methods redefenition From: Erik Naggum <erik@naggum.net> Date: 31 Dec 2000 15:29:32 +0000 Newsgroups: comp.lang.lisp Message-ID: <3187265372683428@naggum.net> * "Vladimir V. Zolotych" <gsmith@eurocom.od.ua> | Now I can't redefine method x with different number of args. Methods in CLOS do not belong to the class, but to the generic function. Please do not assume that you know how this works, but find a textbook that explains it and read it carefully -- it is a confusion that results only from skipping the important step of ascertaining that an assumption you bring with you still holds -- it doesn't. Common Lisp is _not_ a member of the C++-style class fan club. | In which way I could "forget" the results of previous definition? Redefine the generic function with defgeneric. Your Common Lisp environment probably has a kill-definition function, either in the development environment or in its extensions to the language, but such functinality is not part of Common Lisp. #:Erik -- Performance is the last refuge of the miserable programmer.