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

Re: Overloading of primitive operators

Larry Masinter <masinter@parc.xerox> offers the following solution:

  As a Common Lisp user, you can do this [overload primitive operators]
  yourself, by shadowing the functions you want to make generic with the
  default implementation being the standard CL: one.

The use of the term "shadowing" is confusing to me.  Do you mean "shadowing"
as in shadowing a symbol?  If so, this solution involves some fairly 
inconvenient changes (e.g., not using the "LISP" package).

However, if by "shadowing" you mean use another name, then this is a
non-solution to the original problem.