3 ms·
Here is a slight modification that takes advantage of the hyper operator >> (»): @numbers.grep(* > 10 && * % 2)>>.&work; https://docs.perl6.org/language/ope
by sacomo 8y ago
Here is a slight modification that takes advantage of the hyper operator >> (»):
@numbers.grep(* > 10 && * % 2)>>.&work;
https://docs.perl6.org/language/operators#index-entry-hyper_%3C%3C-hyper_%3E%3E-hyper_%C2%AB-hyper_%C2%BB-Hyper_operators https://docs.perl6.org/language/operators#index-entry-hyper_...