Re: multi method dispatching of optional arguments (further refined)

2006-09-03 Thread Mark Stosberg
Luke Palmer wrote: > I don't follow your examples. What is the logic behind them? > > On 9/3/06, Mark Stosberg <[EMAIL PROTECTED]> wrote: >> Examples: >>Arguments (<1 2>) to signatures 1. (@a?) and 2. (@a) calls 2 > > For example, I would expect this one to be ambiguous, because the 1. > (@a

[svn:perl6-synopsis] r11725 - doc/trunk/design/syn

2006-09-03 Thread audreyt
Author: audreyt Date: Sun Sep 3 10:04:00 2006 New Revision: 11725 Modified: doc/trunk/design/syn/S03.pod Log: * S03: Clarify that this: my Dog ($x, $y) really means the same as: my (Dog $x, Dog $y) Modified: doc/trunk/design/syn/S03.pod ==

Unpacking tree node parameters

2006-09-03 Thread Gaal Yahas
> sub traverse ( BinTree $top ( $left, $right ) ) { ... } L has two infelicities I wanted to fix with a patch. The first is that this style of unpacking is "really" syntactically a Signature, but most the examples in this section abbreviate out the optional colon. (The above is more formally spe

Re: multi method dispatching of optional arguments (further refined)

2006-09-03 Thread Ph. Marek
On Sunday 03 September 2006 14:25, Mark Stosberg wrote: > Luke Palmer wrote: > > On 9/3/06, Mark Stosberg <[EMAIL PROTECTED]> wrote: > >> Note that the variant /with/ the parameter can be considered an exact > >> match, but but the variant /without/ it cannot be considered an exact > >> match. Excu