aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-055/simon-proctor/raku/ch-2.p62
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-055/simon-proctor/raku/ch-2.p6 b/challenge-055/simon-proctor/raku/ch-2.p6
index e5689859a6..aee75ea167 100644
--- a/challenge-055/simon-proctor/raku/ch-2.p6
+++ b/challenge-055/simon-proctor/raku/ch-2.p6
@@ -13,7 +13,7 @@ multi sub MAIN( *@ ) is hidden-from-USAGE { say "Please give a list of 2 or more
#| Given a list of integers return all the wave sorted lists
multi sub MAIN( *@input where { $_.elems >= 2 && $_.all ~~ Int } ) {
- .say for unique-perms( @input ).race.grep( -> @l { is-wave( 'lte', |@l ) } );
+ .say for unique-perms( @input ).race.grep( -> @l { is-wave( 'gte', |@l ) } );
}
sub unique-perms ( @input ) {