On 11/02/2018 1:13 PM, Dukc wrote:
Out of interest will each! work here as well?in the form: import std.algorithm, std.range; iota(5, 15).map!(x => x*2).each!(num => printf("%d ", num)); ...it does.
:)
rikki cattermole via Digitalmars-d-announce Sun, 11 Feb 2018 05:23:19 -0800
On 11/02/2018 1:13 PM, Dukc wrote:
Out of interest will each! work here as well?in the form: import std.algorithm, std.range; iota(5, 15).map!(x => x*2).each!(num => printf("%d ", num)); ...it does.
:)