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 ca
This was fixed a few minutes ago in r16458. You'll need to re-up and
re-configure. Sorry for
the inconvenience.
--
Matt Diephouse
Lots of interesting ideas. But I don't think the reverse-test
situation will arise all that frequently. How 'bout we let the user
just say:
my macro statement_control: { "when .accepts: " }
or some such...
Larry
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 C to invert
the arguments to ~~ versus C.
given @
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
ok/b
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
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)
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
==
--- doc/trunk/design/s
# New Ticket Created by James Keenan
# Please include the string: [perl #41196]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=41196 >
http://svn.perl.org/parrot/trunk/MANIFEST : This shows a file called
t/tools/README.
# New Ticket Created by Amir E. Aharoni
# Please include the string: [perl #41193]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=41193 >
10 matches
Mail list logo