On 02/21/2013 05:55 PM, bearophile wrote:
> import std.stdio, std.algorithm, std.string;
>
> void main() {
> auto gen = File("infile.txt")
> .byLine()
> .map!(line => "Line: " ~ line.chomp.toUpper);
>
> writefln("%-(%s\n%)", gen);
> }
Cool, thanks!
// Samuel