On Sunday, 16 March 2014 at 16:58:36 UTC, Andrei Alexandrescu wrote:A classic idiom for reading lines and keeping them is f.byLine.map!(x => x.idup) to get strings instead of the buffer etc.f.readLines
What about a simpler f.iter() or f.lineIter()?
On Sunday, 16 March 2014 at 16:58:36 UTC, Andrei Alexandrescu wrote:A classic idiom for reading lines and keeping them is f.byLine.map!(x => x.idup) to get strings instead of the buffer etc.f.readLines
What about a simpler f.iter() or f.lineIter()?