Re: lol context and X

2011-03-31 Thread Moritz Lenz
On 03/31/2011 11:16 PM, Aaron Sherman wrote: > # parens on the arglist causes flattening? > $ ../rakudo/perl6 -e 'for 1 .. 2 X 4 .. 5 -> ($a, $b) { say $a.perl, $b.perl > }' > Not enough positional parameters passed; got 0 but expected 2 in sub-signature The error message already tells you that y

lol context and X

2011-03-31 Thread Aaron Sherman
[This might be better suited to p6c if it turns out that this is a bug, but I'll assume it's not to start...] So, last night sorear said, "I might write the loop as for 2 .. $lim X 2 .. $lim -> $a, $b {" I played around with this a bit, and I'm unclear on how this works. Here's some examples that

[perl #87440] [BUG] A failing series operator should complain better in Rakudo

2011-03-31 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #87440] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=87440 > spb reported rakudo: my @random-stuff := 1, 3, 4, 7 ... *; say @random-stuff[^10].perl

Help us recover a nice nopaste about setting signatures

2011-03-31 Thread Carl Mäsak
On #perl6, we're trying to figure out who it was that made a fairly large investigation into the naming of parameters of the functions and methods in S28/S32 a couple of years ago. We seem to recall that someone made a nopaste on the channel, but that it subsequently timed out. So... (a) Does anyo

[perl6/specs] b1878b: dig out a precedence fossil

2011-03-31 Thread noreply
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: b1878bfb59d63295bb9c7380ebebc4516d7118ef https://github.com/perl6/specs/commit/b1878bfb59d63295bb9c7380ebebc4516d7118ef Author: Larry Wall Date: 2011-03-31 (Thu, 31 Mar 2011) Changed paths: M S03-operators.pod Log