Andrea Fontana:
Here the answer:auto r=iota(100).map!((x) => uniform(0,10))(); writeln(r.front," ", r.front, " ", r.front, " ", r.front);
I think that's not the answer. I think the answer is a bug in filter().
Bye, bearophile
Andrea Fontana:
Here the answer:auto r=iota(100).map!((x) => uniform(0,10))(); writeln(r.front," ", r.front, " ", r.front, " ", r.front);
I think that's not the answer. I think the answer is a bug in filter().
Bye, bearophile