On Thursday, 11 December 2014 at 20:37:09 UTC, Kapps wrote:
Ranges are one way of allowing foreach. The other is through the use of opApply, which is what std.stdio.lines does.

http://dlang.org/statement.html#ForeachStatement

Ah, so I just needed to keep reading down a few lines in the foreach docs. Thanks!

Andrew

Reply via email to