[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

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