On Sun, Oct 31, 2021 at 9:08 AM Andinus via perl6-users < perl6-users@perl.org> wrote:
> put 2.sqrt.comb.grep(*.Int)>>.Int[^10].raku # 10 digits > comb takes an argument that can save you a method call: 2.sqrt.comb.grep(*.Int) ==> 2.sqrt.comb(/\d/)
On Sun, Oct 31, 2021 at 9:08 AM Andinus via perl6-users < perl6-users@perl.org> wrote:
> put 2.sqrt.comb.grep(*.Int)>>.Int[^10].raku # 10 digits > comb takes an argument that can save you a method call: 2.sqrt.comb.grep(*.Int) ==> 2.sqrt.comb(/\d/)