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: 70b0ca3fd98425abe9c6d68c012954b3cb2a042d
https://github.com/perl6/specs/commit/70b0ca3fd98425abe9c6d68c012954b3cb2a042d
Author: pmichaud
Date: 2015-06-24 (Wed, 24 Jun 2015)
Changed paths:
M S07-glr-d
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