foreach (step; steps) { writeln( [iota(min, max, step), iota(min, max, step+1)] ); writeln( [[min..max : step], [min..max : step+1]] ); max += step; } Sorry for spamming. :) I'm getting more and more convinced to join the iota camp. The new syntax barely saves any characters, and is potentially confusing.