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
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
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
# 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
# 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
# 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
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
# 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
> 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
# 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
10 matches
Mail list logo