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

Adam D. Ruppe destructionator at gmail.com
Sun Mar 16 11:03:09 PDT 2014


If byLine returned a scope item, then it wouldn't be allowed to 
escape and throw a nice compile error pointing people in the 
right direction.... scope rox so much i want it so badly. (i 
guess here the mutability pretty much tells the story too tho)


But going with the idea that the duplicated one can be 
escaped/stored:

f.byLineStorable

or something like that. The name tells you that it is cool to 
store each line.


More information about the Digitalmars-d mailing list