Subject: Re: methods redefenition
From: Erik Naggum <>
Date: 31 Dec 2000 15:29:32 +0000
Newsgroups: comp.lang.lisp
Message-ID: <>

* "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.

  Performance is the last refuge of the miserable programmer.