chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] TinyCLOS and circular references


From: felix winkelmann
Subject: Re: [Chicken-users] TinyCLOS and circular references
Date: Mon, 3 Jan 2005 07:28:23 +0100

On Thu, 30 Dec 2004 20:32:07 +0000, Joel Reymont <address@hidden> wrote:
> How should I resolve circular references with TinyCLOS? I have two units
> that refer to one another and I can't figure it out.
> 
> For example, I have a <graphics> object with a method that takes in a
> <font> parameter and font uses <graphcis> for drawing strings.
> 

Circular dependet units are currently not possible. For circular dependencies
in method definitions, I recommend using a common superclass, which
is defined up front.

(I'm not sure that helps, perhaps you can give a small example?)


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]