in reply to Re^3: Perl6: Parting of @Arrayed See
in thread Perl6: Parting of @Arrayed See

Actually, they're even working on that. Because of new language regularization, grep (and map and part) will be a slightly different syntax in Perl 6:

    grep { block } <~ @array

Which allows for left-to-right pipelines:

    @in ~> grep { block } ~> @out

And, via unary ~>, allows for duplicates:

given(@foo) { ~> grep { cond1 } ~> @out1; ~> grep { cond2 } ~> @out2; ... }
cond1 and cond2 do not need to be mutually exclusive (and probably shouldn't be, since otherwise you could use part).

Disclaimer: This is true this week. God only knows if it'll be true next week. ;^)

=cut
--Brent Dax
There is no sig.