[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Overloading of primitive operators
- To: commonloops.pa@Xerox.COM
- Subject: Re: Overloading of primitive operators
- From: Nat Ballou <ballou@ERNEST.ACA.MCC.COM>
- Date: Wed, 14 Mar 90 14:22 CST
- Phone: (512) 338-3376
- Postal-address: 3500 West Balcones Ctr. Dr., Austin, TX 78759
- Redistributed: commonloops.pa
Larry Masinter <email@example.com> 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.