|
From: | Felix Winkelmann |
Subject: | Re: [Chicken-users] (CVS commit) Version 1, Build 36 |
Date: | Thu, 25 Mar 2004 10:59:17 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 |
Alex Shinn wrote:
An egg to patch tinyclos or an egg with the linearization as a separate utility procedure (maybe with a meta-class for overriding the standard compute-cpl)?
The former. You'd say (require 'c3) To patch tinyclos to new the different compute-std-cpl.
(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)This one? http://www.python.org/2.3/mro.html I only did the CPL, so if he has compute-methods we could use both.
It's really just the MRO algorithm (IIRC, I haven't got the code here. He sent me a Scheme version, including test-cases). I'll check when I'm back home. cheers, felix
[Prev in Thread] | Current Thread | [Next in Thread] |