ash / raku-course

28 stars 11 forks source link

Exercise `number-in-limits` uses ternary that was not covered yet #3

Closed MightyPork closed 3 years ago

MightyPork commented 3 years ago

This example (https://course.raku.org/essentials/ranges/exercises/number-in-limits/) can be solved using the ternary operator - that is the official solution - or using if, but none of these were covered by the time you get to the exercise when doing the course sequentially.

Maybe there should be a hint to look at the ternary syntax ahead of time, or change the exercise somehow.

ash commented 3 years ago

The code should be updated.

ash commented 3 years ago

@MightyPork, thanks a lot once again. deb21dd, 403f905