Using .kv to avoid .elems and simplify indexing
The .kv method can be used to generate (index, value) pairs lazily:
> my @words = < orange lime cherry banana lemon >; > for @words.kv -> $k, $v { say "$k: $v" } 0: orange 1: lime 2: cherry 3: banana 4: lemon