xxxxxxxxxx
void main()
{
import std.algorithm.iteration: each;
import std.range: stride;
import std.stdio: writeln;
int[] x = [1, 2, 3, 4, 5, 6, 7, 8];
x[1..6].stride(2).each!((ref item) { item = 0; });
writeln(x);
}