for i := range arr { foo1(arr[i]) ... foo10(arr[i]) }
for i := range arr { foo1(arr[i]) } ... for i := range arr { foo10(arr[i]) }