From: ts Date: 2002-09-28T02:04:41+09:00 Subject: Re: adding overload to ruby >>>>> "C" == Christoph writes: >> ./d.rb:9: Possible ambiguous call M [B] -- A [Array] (NameError) C> Isn't this the same ambiguity you get with regular inheritance? yes, do you remember what do ruby with an included class ? In my example you have internally A ===> [M] ===> Object this give A < [M] and it has B < Array ([M], B) -- (A ,Array) is ambiguous C> If you buy into the evil multi-dispatch you either C> have live with occasional ambiguity-errors or C> use some sort of ambiguity resolution mechanism. You really think that it's different from multi-dispatch ? :-))))) Guy Decoux