aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammad S Anwar <Mohammad.Anwar@yahoo.com>2020-04-07 09:12:43 +0100
committerGitHub <noreply@github.com>2020-04-07 09:12:43 +0100
commit53bcfb01fec3c9a4a253ce14bb620a890012fb2d (patch)
tree3a6503a84e9cdf217e2e5fa300c9ab98f7d1a85f
parentf6840e897a93204a84082819138a0712dd6120af (diff)
parent061e09dfcd612ddb9be4ad3f5e36c46d73d03a39 (diff)
downloadperlweeklychallenge-club-53bcfb01fec3c9a4a253ce14bb620a890012fb2d.tar.gz
perlweeklychallenge-club-53bcfb01fec3c9a4a253ce14bb620a890012fb2d.tar.bz2
perlweeklychallenge-club-53bcfb01fec3c9a4a253ce14bb620a890012fb2d.zip
Merge pull request #1534 from Scimon/master
Ooops.... had mine starting <= not >= fixed
-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 ) {