On Fri, Jul 08, 2005 at 13:25:14 -0700, Dave Whipp wrote:
> Rod Adams wrote:
> 
> >   multi method foo#bar (Num x) {...}
> >   multi method foo#fiz (String x) {...}
> >   $y = 42;
> >   $obj.foo#fiz($y); # even though $y looks like a Num
> >   $obj.foo($z);     # let MMD sort it out.
> 
> Having additional tags might also give us something to hang priority traits 
> off: "foo#bar is 
> more_specific_than(foo#baz);" might influence the order of clauses in the 
> implicit given/when block. It 
> feels like there should be a generalization of operator precidence here (even 
> thought he two are 
> superficially dis-similar, the looser/tighter concept appears valid).

I like that =)

-- 
 ()  Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418  perl hacker &
 /\  kung foo master: /me has realultimatepower.net: neeyah!!!!!!!!!!!!

Attachment: pgpjhRyhnok4i.pgp
Description: PGP signature

Reply via email to