On Sun, Aug 2, 2020 at 11:14 PM yary <not....@gmail.com> wrote: > Issue golf, ff is always evaluating its RHS > > $ raku -e 'say "With ff: ";say ( 1..5 ).grep({False ff .say}); say "With > fff: ";say ( 1..5 ).grep({False fff .say});' > With ff: > 1 > 2 > 3 > 4 > 5 > () > With fff: > () >
I haven't looked much at Raku since it was Perl6, but for comparison, here's some Perl 5: $ perl -E 'say "With ..: ";say grep {/nope/ .. say} 1..5; say "With ...: ";say grep {/nope/ ... say} 1..5;' With ..: With ...: Eirik