|
From: | Felix Winkelmann |
Subject: | Re: [Chicken-users] (CVS commit) Version 1, Build 36 |
Date: | Thu, 25 Mar 2004 10:04:03 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 |
Alex Shinn wrote:
At Wed, 25 Feb 2004 11:14:15 +0100, Felix Winkelmann wrote:Benedikt Rosenau wrote:By the way, Felix, what are the chances of using C3 in the object system?To be honest - I don't really understand it. But changing the method-resolution algorithm in the tinyclos sources might not be too hard for someone who knows about such things... (Hint, hint! ;-)I had the C3 linearization algorithm lying around and after plugging it into tinyclos it worked just fine. Patch attached (test suite not ported yet).
Great! I'll make some tests and wrap it as an egg, if that's ok with you? (BTW, Michele had his own version of the MRO implementation, but this one hooks nicely into tinyclos. Micheles code contains some very nice test-cases, which we can apply here) cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |