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

2007-01-06 Thread luqui
Author: luqui Date: Sat Jan 6 15:22:29 2007 New Revision: 13512 Modified: doc/trunk/design/syn/S03.pod Log: Fixed an error in the prefix | discussion. Modified: doc/trunk/design/syn/S03.pod == ---

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

2007-01-06 Thread luqui
Author: luqui Date: Sat Jan 6 15:28:54 2007 New Revision: 13513 Modified: doc/trunk/design/syn/S03.pod Log: Fixed my fix. Modified: doc/trunk/design/syn/S03.pod == --- doc/trunk/design/syn/S03.pod(original)

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

2007-01-06 Thread luqui
Author: luqui Date: Sat Jan 6 15:33:09 2007 New Revision: 13514 Modified: doc/trunk/design/syn/S03.pod Log: Ugh. r3 of this simple change. Modified: doc/trunk/design/syn/S03.pod == --- doc/trunk/design/syn/S03.pod

Re: Patterns

2007-01-06 Thread Jonathan Lang
Larry Wall wrote: Anyway, that gives us: given $pattern { when .accepts(42) {...} } which given typical usage patterns of switch statements is probably adequately huffmanized, unless we want to go for something shorter than accepts/rejects, like acc/rej pix/nix

Re: Patterns

2007-01-06 Thread Ashley Winters
On 1/5/07, Larry Wall [EMAIL PROTECTED] wrote: Anyway, that gives us: given $pattern { when .accepts(42) {...} } I think this type of usage should be encouraged with a bit more huffmanization. My first thought would be to add Cagainst to invert the arguments to ~~ versus

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

2007-01-06 Thread larry
Author: larry Date: Sun Jan 7 00:50:30 2007 New Revision: 13515 Modified: doc/trunk/design/syn/S03.pod Log: Smartmatching is now hopefully more consistent, extensible, and optimizable. (Suggestion to use single dispatch semantics on pattern was from luqui++.) After single dispatch, pattern