bearophile wrote:
dsimcha:
Two things that had been discussed on this NG that I noticed are
conspicuously absent:  eager(), which converts a lazy range to an
array,

eager() name is bad. Better array(), or toArray(), or something like
that. More descriptive.

At best this is a more general function that creates one range from another using a name of e.g. makeCopy.

auto a = makeCopy!(int[])(input);
auto b = makeCopy!(List!int)(input);


Andrei

Reply via email to