aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-270/mark-anderson/raku/ch-1.raku4
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge-270/mark-anderson/raku/ch-1.raku b/challenge-270/mark-anderson/raku/ch-1.raku
index a7b7e32471..c686670909 100644
--- a/challenge-270/mark-anderson/raku/ch-1.raku
+++ b/challenge-270/mark-anderson/raku/ch-1.raku
@@ -15,8 +15,8 @@ is special-positions([
sub special-positions(@m)
{
- my $b = bag @m>>.grep(* == 1, :k);
- + $b.values.grep(* == 1)
+ my $b = bag @m>>.grep(1, :k);
+ + $b.values.grep(1)
}
# sub special-positions(@m)