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

A hyper map

Problem

Given the words <apple banana pear cherry>, use .hyper to run a pipeline in parallel while keeping the original order: upper-case every word, keep only the words with more than four letters, and join what remains into a single space-separated string. Print it.

Example

The program prints:

APPLE BANANA CHERRY

Solution

See the solution

Course navigation

Quiz — batch and degree   |   Solution: A hyper map