From ... Path: supernews.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!world!newsfeed.mathworks.com!EU.net!Norway.EU.net!127.0.0.1!nobody From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: methods redefenition Date: 31 Dec 2000 15:29:32 +0000 Organization: Naggum Software; vox: +47 8800 8879; fax: +47 8800 8601; gsm: +47 93 256 360; http://naggum.no; http://naggum.net Lines: 21 Message-ID: <3187265372683428@naggum.net> References: <3A4F56EC.92B98C8B@eurocom.od.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: oslo-nntp.eunet.no 978277523 26105 195.0.192.66 (31 Dec 2000 15:45:23 GMT) X-Complaints-To: newsmaster@eunet.no NNTP-Posting-Date: 31 Dec 2000 15:45:23 GMT mail-copies-to: never User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 Xref: supernews.google.com comp.lang.lisp:5879 * "Vladimir V. Zolotych" | 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.