Newsgroups: perl.perl6.language
From: la...@wall.org (Larry Wall)
Date: Tue, 17 May 2005 07:26:54 -0700
Local: Tues, May 17 2005 10:26 am
Subject: Re: Multiple colons
On Tue, May 17, 2005 at 10:10:22PM +0800, Autrijus Tang wrote: : On Tue, May 17, 2005 at 07:00:23AM -0700, Larry Wall wrote: : > On Tue, May 17, 2005 at 01:50:48PM +0000, Luke Palmer wrote: : > : Is that still the case? I don't recall us getting rid of it, but it : > : doesn't seem to be documented in the AES. : > : > We didn't get rid of it. : : So does it mean that a "3-story" multisub with two colons will : always win against one with one colon? : : multi sub foo (Any $x: Str $y: Str $z, Str $w) { 1 } : multi sub foo (Str $x, Str $y: Str $z, Str $w) { 2 } : : say foo("x", "y", "z", "w"); # 1 It does seem that the signature that provides more information should : Is the final level ($z and $w) participating in the MMD at all I don't recall ever saying anything like that, so that part of it Larry You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||