On Dec 16, 2010, at 7:38 AM, Jim mack wrote:

> I read that and experimented enough to learn my mixin expectations from Ruby 
> didn't serve me :)  But, in my pasted code, I only defined dispatch methods 
> for the mixins.  Are you saying that the tuples can't be related by 
> inheritance at all?

Factor mixins have nothing to do with Ruby mixins—they're essentially just open 
union types. You inherit mixin membership when you inherit from a tuple. Your 
child tuples thus end up as members of two mixins, and you define methods on 
both mixins the child tuples are members of. The resolution of ambiguous mixin 
methods is ill-defined (I think it happens to be alphabetical currently).

-Joe
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to