diff options
| author | Simon Proctor <simon.proctor@zoopla.co.uk> | 2020-10-01 15:02:26 +0100 |
|---|---|---|
| committer | Simon Proctor <simon.proctor@zoopla.co.uk> | 2020-10-01 15:02:26 +0100 |
| commit | 3e67238bc72da1d29cee6bfb233c82b076f865c5 (patch) | |
| tree | 5ec425e4782077fc3e88a7ab5c53be223420161c | |
| parent | 858ddb0bbe8c9c428431d2337110f99e1fc33c8b (diff) | |
| download | perlweeklychallenge-club-3e67238bc72da1d29cee6bfb233c82b076f865c5.tar.gz perlweeklychallenge-club-3e67238bc72da1d29cee6bfb233c82b076f865c5.tar.bz2 perlweeklychallenge-club-3e67238bc72da1d29cee6bfb233c82b076f865c5.zip | |
Small but I think nice change to challenge 1
| -rw-r--r-- | challenge-080/simon-proctor/raku/ch-1.raku | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-080/simon-proctor/raku/ch-1.raku b/challenge-080/simon-proctor/raku/ch-1.raku index 2b86522724..0367bc1807 100644 --- a/challenge-080/simon-proctor/raku/ch-1.raku +++ b/challenge-080/simon-proctor/raku/ch-1.raku @@ -6,6 +6,6 @@ use v6; sub MAIN ( *@N where { $_.all ~~ Int } #= List of integers ) { - say (1...*).first( * !~~ any(@N) ); + say (1...*).first( * ~~ none(@N) ); } |
