for 0..^@nums.elems -> $index { say @nums[$index], " ", "for loop 1"; } ===SORRY!=== Shape declaration is not yet implemented; please use whitespace if you meant something else at /home/deadmarshal/Documents/mycodes/Raku/yt/16.arrays.p6:16 ------> for 0..^@nums.end -> $index⏏{ Variable '$index' is not declared. Did you mean any of these: '&index', '&rindex'? at /home/deadmarshal/Documents/mycodes/Raku/yt/16.arrays.p6:17 ------> say @nums[⏏$index], " ", "for loop 2";