Jonathan M Davis wrote: > const(T)[] maybe, > but as soon as you use in, you can't use any range functions. That is, to me, the biggest problem with range functions and something that should be fixed. There's no defense for it aside from being the status quo. It's just a shortcoming of the current implementation, not a principled limitation.