DEV Community

Perl Weekly Challenge in Raku : Week 55

Simon Proctor on April 07, 2020

So it's been a few weeks, I don't know about you but I've been a bit stressed so blogging about the challenges has been a bit hard. Still I'm also ...
Collapse
 
lizmat profile image
Elizabeth Mattijsen

You can actually get even more declarative in some of the is-wave candidates:

multi sub is-wave( 'gte', Int $a, Int $b where { $a < $b } --> False ) { }         

This also gives the optimizer more to go on.

Collapse
 
scimon profile image
Simon Proctor

I tried a couple of other methods later. I'll maybe blog about them soon.

Collapse
 
james245332 profile image
James245332

Good