DIP 1027---String Interpolation---Community Review Round 1

Patrick Schluter Patrick.Schluter at bbox.fr
Mon Dec 16 12:46:22 UTC 2019


On Monday, 16 December 2019 at 12:43:04 UTC, Patrick Schluter 
wrote:

> // Use reduce to calculate the sum
>     // of all squares in parallel.
>     auto result = taskPool.reduce!"a+b"(
>         0.0, iota(100).map!"a*a");
>     writeln("Sum of squares: ", result);

Ignore that random crap at the end of my post. It was a copy 
paste accident.




More information about the Digitalmars-d mailing list