Course of Raku / Functional, concurrent, reactive, and web programming / Concurrent programming / Hyper and race 🆕 / Exercises

Hyper with a filter

Problem

Using .hyper, from the numbers 1 to 20 keep only the ones greater than 10, square each, and print them in order.

Example

The program prints:

(121 144 169 196 225 256 289 324 361 400)

Solution

See the solution

Course navigation

Solution: A racing sum   |   Solution: Hyper with a filter