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

Meta jared771 at gmail.com
Wed Mar 19 16:53:52 PDT 2014


On Wednesday, 19 March 2014 at 22:30:55 UTC, Peter Alexander 
wrote:
> 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()?


More information about the Digitalmars-d mailing list