develooper Front page | perl.perl5.porters | Postings from August 2012

Re: junctions (was Re: fixing smartmatch just hard enough (and when,too))

Thread Previous | Thread Next
From:
Ricardo Signes
Date:
August 29, 2012 07:21
Subject:
Re: junctions (was Re: fixing smartmatch just hard enough (and when,too))
Message ID:
20120829142133.GA19718@cancer.codesimply.com
* David Golden <dagolden@cpan.org> [2012-08-29T09:28:34]
> Effectively, we want to turn this:
> 
>     any( map { is_prime($_) } any(1,2,3)->values )
> 
> Into this:
> 
>     any(1,2,3)->map( \&is_prime )
> 
> I've submitted a Perl6::Junction ticket to that effect.
> 
> https://rt.cpan.org/Ticket/Display.html?id=79284

...and I've implemented it on the replacement module Syntax::Keyword::Junction:

https://github.com/frioux/Syntax-Keyword-Junction/pull/2

-- 
rjbs

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About