Good name for f.byLine.map!(x => x.idup)?

bearophile bearophileHUGS at lycos.com
Mon Mar 17 05:38:23 PDT 2014


Dmitry Olshansky:

> f.lines?

There is already a lines in std.stdio (but I don't use it much), 
search for:

foreach (string line; lines(stdin))

Here:
http://dlang.org/phobos/std_stdio.html

Bye,
bearophile


More information about the Digitalmars-d mailing list