On Thursday, 5 July 2018 at 12:00:03 UTC, vit wrote:
On Thursday, 5 July 2018 at 09:47:32 UTC, Andre Pany wrote:
[...]

roundRobin doesn't return RandomAccessRange => chunks doesn't return range of RandomAccessRange => Error: no [] operator overload

try this:

string content = roundRobin(timestamps, temperatures, pressures)
        .array
        .chunks(3)
        //.map!(c => c.array)
        .map!(c => "%.10g,%.10g,%.10g".format(c[0],c[1],c[2]))
        .join("\n");

Thanks a lot for all the answers.

Kind regards
Andre

Reply via email to