On Friday, 12 May 2017 at 11:58:23 UTC, k-five wrote:
On Friday, 12 May 2017 at 11:41:57 UTC, cym13 wrote:
[...]
-------------------------------------------------------
[...]
---------------------------------------------------------
Thanks and the correct syntax for each! is, passing a lambda.
So the:
[...]
is an error:
temp.d(15): Error: found 'item' when expecting ')' following
template argument list ...
and should be:
.each!( ( string item ) => writeln( item ) );
Ah, yeah, my bad, I should have try compiling it instead of
answering directly ;)