This is great, thank you.

I couldn't get the example in the introduction to work without adding .map!(chomp) to the pipeline:

auto sample = File("10numbers.txt")
        .tee!((x){mean += x;})

Without that, I got an error converting to a double (my file had '\r' after each number)

On Friday, 1 May 2015 at 08:18:10 UTC, Ilya Yaroshenko wrote:

I hope this examples will be useful for students.


Reply via email to