On Sun, 15 Jun 2008, Frank Barknecht wrote:
Btw.: Miller is working on making shadowing even builtins possible.
It can be done by removing some lines from pd's source. Defining a method is done by appending to a linked-list. If it is made to prepend to the linked-list (by removing a for-loop), a new method with the same name as an old method with shadow the old method because of the way method-lookup happens, and then class-lookup is method-lookup in pd, because it's done through [objectmaker]'s method-list.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec