On Sat, Aug 08, 2009 at 05:45:40PM -0400, Austin Hastings wrote:
> [...]
> Specifically, is
> token { ... }
> going to match the same pattern as
> rule { ... }
> ??
>
> I ask because (I just did it, and) with rules encouraging the liberal
> use of whitespace, and implicitly generating <
On Sat, Aug 8, 2009 at 5:13 PM, Carl Mäsak wrote:
> Moritz Lenz (>), Aaron Sherman (via RT) (>>):
> >>> say Str.^methods[0]
> >> sprintf
> >> [...]
> >>> say Str.^methods[0].name
> >> pred
> >
> > Yes, there's a method 'pred'. So what?
>
> I, for one, find that pair of results... surprising. If t
Aaron Sherman (via RT) wrote:
I'm working in a firewalled environment today where I can't get access to
git, so here's what I see in 2009-07 downloaded from
http://github.com/rakudo/rakudo/downloads
S12 says:
"The .^methods method returns method-descriptors containing:
name
Aaron Sherman wrote:
On Sun, Aug 2, 2009 at 1:10 PM, Moritz Lenz wrote:
Let's pick up this old mail before it gets completely warnocked ;-)
For the record, this discussion only applies to scalar implementation
types. For example for Arrays I expect things to work by overriding the
method p
S05 mentions the magic pattern in two locations, but I cannot
find a specification of the interaction between and the
ratcheting {rule/token} status.
Specifically, is
token {
...
}
going to match the same pattern as
rule {
...
}
??
I ask because (I just did it, and) with rules enco
Moritz Lenz (>), Aaron Sherman (via RT) (>>):
>>> say Str.^methods[0]
>> sprintf
>> [...]
>>> say Str.^methods[0].name
>> pred
>
> Yes, there's a method 'pred'. So what?
I, for one, find that pair of results... surprising. If the method
object stringifies to its name, shouldn't the above two print
# New Ticket Created by dakkar
# Please include the string: [perl #68294]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68294 >
second patch from Lisbon: kv in the setting
>From db44fb60bde4009d148ac699c0a9b8383ac2206d Mon
Aaron Sherman (via RT) wrote:
> # New Ticket Created by Aaron Sherman
> # Please include the string: [perl #68306]
> # in the subject line of all future correspondence about this issue.
> # http://rt.perl.org/rt3/Ticket/Display.html?id=68306 >
>
>
> I'm working in a firewalled environment t
# New Ticket Created by Ben Petering
# Please include the string: [perl #68318]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68318 >
# "Normal" exception in try {} is caught
BEGIN {
try {
widdle;
CA
# New Ticket Created by Solomon Foster
# Please include the string: [perl #68298]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68298 >
colomon: rakudo: (1..3).map({$_ => $_*$_}).perl.say
p6eval: rakudo e5a63d: OUTPUT«Use
# New Ticket Created by Ben Petering
# Please include the string: [perl #68320]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68320 >
eval 'widdle()';
eval 'waddle()';
say "pending: " ~ $!.pending.perl;
... gives ...
Me
rakudo: my @a = gather loop (my $i = 1; $i < 10; $i++) { take $i }; @a.perl.say;
p6eval: rakudo 7717c4: OUTPUT«[10, 10, 10, 10, 10, 10, 10, 10, 10]»
--
Solomon Foster: colo...@gmail.com
HarmonyWare, Inc: http://www.harmonyware.com
# New Ticket Created by dakkar
# Please include the string: [perl #68296]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68296 >
third patch from Lisbon: pick in the setting
>From 884a1799328f2bccaf7ec06d1910c4360227c625 Mo
# New Ticket Created by Aaron Sherman
# Please include the string: [perl #68306]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68306 >
I'm working in a firewalled environment today where I can't get access to
git, so here'
# New Ticket Created by Hanno Hecker
# Please include the string: [perl #68290]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68290 >
$ cat test.p6
use v6;
class A { sub a { say "a" }; sub a { say "a" } }
grammar B { toke
# New Ticket Created by dakkar
# Please include the string: [perl #68292]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68292 >
here is the first patch that I wrote in Lisbon: splice works.
I already committed the splice.
# New Ticket Created by Solomon Foster
# Please include the string: [perl #68274]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=68274 >
use v6;
loop (my $n = 2; $n <= 354294; $n++)
{
my @digits = $n.comb(/\d/);
my
t/spec/S02-builtin_data_types/unicode.t has tests like this:
# LATIN CAPITAL LETTER A, COMBINING GRAVE ACCENT
my Str $u = "\x[0041,0300]";
is $u.bytes, 3, 'combining À is three bytes as utf8';
is $u.codes, 2, 'combining À is two codes';
is $u.graphs, 1, 'combining À is one graph';
Which seems to
18 matches
Mail list logo