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

2007-02-02 Thread Larry Wall
On Fri, Feb 02, 2007 at 08:14:53PM +0100, Dr.Ruud wrote: : I would expect : : %hash.exists{$key} : Except $foo.bar{$key} is interpreted as $foo.bar().{$key}. Things like "exists" and "delete" need to evaluate the key before calling the method in question, not after. : with the shortcut : :

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

2007-02-02 Thread Larry Wall
On Fri, Feb 02, 2007 at 08:06:56PM +, Smylers wrote: : I've got a slight concern over the name C though. The Perl QA : folk already seem to have enough trouble coming up with enough : permutations of "test", "tests", "Test", "TEST", and so on for labelling : tests, test frameworks, and things

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

2007-02-02 Thread Smylers
[EMAIL PROTECTED] writes: > +++ doc/trunk/design/syn/S03.pod Fri Feb 2 01:07:36 2007 > > if $filename ~~ :e { say "exists" } > +if $filename.:e { say "exists" } > > +Both of these forms actually translate to > + > +if $filename.TEST(:e) { say "exists" } Hey, that looks good

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

2007-02-02 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: > Just glad someone's reading these things... Of course we are. But it is hard to react when the syntax isn't in your muscle memory yet. >From r13565: > +%hash.:exists{$key} I would expect %hash.exists{$key} with the shortcut %hash.:{$key} to test (at ru

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

2007-02-02 Thread larry
Author: larry Date: Fri Feb 2 11:14:34 2007 New Revision: 13568 Modified: doc/trunk/design/syn/S03.pod Log: typo <== thom++ Modified: doc/trunk/design/syn/S03.pod == --- doc/trunk/design/syn/S03.pod(original

S03 nit

2007-02-02 Thread Thom Boyer
[EMAIL PROTECTED] wrote: > +++ doc/trunk/design/syn/S03.pod Fri Feb 2 01:07:36 2007 > +Both of these forms actually translate to > + > +if $filename.TEST(:e) { say "exists" } > + > +which which is a generic mechanism that dispatches to the object's > +class to find the definition of C. (It

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

2007-02-02 Thread larry
Author: larry Date: Fri Feb 2 09:07:05 2007 New Revision: 13567 Modified: doc/trunk/design/syn/S05.pod Log: Nick++ noticed where I spaced out. Just glad someone's reading these things... Modified: doc/trunk/design/syn/S05.pod

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

2007-02-02 Thread Nicholas Clark
On Wed, Jan 31, 2007 at 01:01:13PM -0800, [EMAIL PROTECTED] wrote: > +by C and the value matchis represented by C. (C, "matchis" must be a typo :-) Nicholas Clark

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

2007-02-02 Thread larry
Author: larry Date: Fri Feb 2 01:28:24 2007 New Revision: 13566 Modified: doc/trunk/design/syn/S12.pod Log: Random cleanup. Modified: doc/trunk/design/syn/S12.pod == --- doc/trunk/design/syn/S12.pod(original

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

2007-02-02 Thread larry
Author: larry Date: Fri Feb 2 01:22:38 2007 New Revision: 13565 Modified: doc/trunk/design/syn/S12.pod Log: More thinking about .:mumble{...} Modified: doc/trunk/design/syn/S12.pod == --- doc/trunk/design/syn/S12.po

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

2007-02-02 Thread larry
Author: larry Date: Fri Feb 2 01:07:36 2007 New Revision: 13564 Modified: doc/trunk/design/syn/S03.pod doc/trunk/design/syn/S12.pod Log: Also allow colon pair syntax for a methodlike kind of filetest. A bit of junctional cleanup. Modified: doc/trunk/design/syn/S03.pod ===