multi combine (@a, $b) { [|@a, [@a[0][0],$b]] } multi combine (@a is item, $b) { @a, [@a[0], $b] } multi combine ($a, $b) { $[$a, $b] } (reduce &combine, 1..5).raku.say;