Re: Anonymous multi-subs

2015-06-25 Thread yary
On Wed, Jun 24, 2015 at 7:17 PM, Brent Laabs wrote: I'll just note that you can fake anon multi subs with lexical subs like this: my $sub = do { proto foo (|) { * } multi foo (Int $x) { $x + 1 } multi foo (Str $y) { $y ~ 'a' } &foo; } say $sub("hello"); I like that, and I suspe

[perl6/specs] e337b9: Propose Str.substr(Range)

2015-06-25 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: e337b938b442a6f5a3070081180972b9f9f01d1e https://github.com/perl6/specs/commit/e337b938b442a6f5a3070081180972b9f9f01d1e Author: Rob Hoelz Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M S32-sett

[perl6/specs] 70b0ca: Updates to latest design concepts for GLR.

2015-06-25 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 70b0ca3fd98425abe9c6d68c012954b3cb2a042d https://github.com/perl6/specs/commit/70b0ca3fd98425abe9c6d68c012954b3cb2a042d Author: pmichaud Date: 2015-06-24 (Wed, 24 Jun 2015) Changed paths: M S07-glr-d

[perl #125474] [PATCH] languages -> share

2015-06-25 Thread via RT
# New Ticket Created by g...@zimt.uni-siegen.de # Please include the string: [perl #125474] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125474 > Hello for the repository http://github.com/rakudo/star I created a little pat

[perl #125486] Autogenerated signature does not set multi-invocant bit

2015-06-25 Thread via RT
# New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #125486] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125486 > [13:42:39] There is a subtle difference in the signature of "sub a { @_ }" a

[perl #125485] bad error message laceholder variable @_ may not be used here because the surrounding block takes no signature

2015-06-25 Thread via RT
# New Ticket Created by equinox # Please include the string: [perl #125485] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125485 > Hi, Compile this and you get and error message ===SORRY!=== Error while compiling D:\m\p6\per

Re: [perl #125482] [BUG] Signature stringifies the `;;` as a comma in Rakudo

2015-06-25 Thread Elizabeth Mattijsen
Fixed by f43725a0385b13193476 > On 25 Jun 2015, at 09:38, Carl Mäsak (via RT) > wrote: > > # New Ticket Created by "Carl Mäsak" > # Please include the string: [perl #125482] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id

[perl #125483] [BUG] Multi dispatch narrowness analysis doesn't ignore the part after ;; in the signature in Rakudo

2015-06-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #125483] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125483 > disambiguating performs a narrowness analysis. only things to the left of the ;; partic

Re: [perl #125482] [BUG] Signature stringifies the `;;` as a comma in Rakudo

2015-06-25 Thread Elizabeth Mattijsen
> On 25 Jun 2015, at 09:38, Carl Mäsak (via RT) > wrote: > > # New Ticket Created by "Carl Mäsak" > # Please include the string: [perl #125482] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=125482 > > > > Suggested by

[perl #125482] [BUG] Signature stringifies the `;;` as a comma in Rakudo

2015-06-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #125482] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125482 > Suggested by yary. m: sub foo($a;; $b) { say "OH HAI" }; foo(1, 2); say &foo.signature