Re: merging container arrays

2020-11-01 Thread Andre Pany via Digitalmars-d-learn
On Sunday, 1 November 2020 at 05:23:42 UTC, Vino wrote: On Saturday, 31 October 2020 at 15:16:22 UTC, Vino wrote: [...] Hi All, I was able to find a solution using a different approach, the code is in the link https://run.dlang.io/is/Jx4NLw, request your help on to get the value using th

Re: merging container arrays

2020-10-31 Thread Vino via Digitalmars-d-learn
On Saturday, 31 October 2020 at 15:16:22 UTC, Vino wrote: Hi All, Request your help on the below code, the requirement is that result's are stored in one single container. Code: import asdf; import std.algorithm: map; import std.container.array; import std.stdio: writeln; import std.typeco

merging container arrays

2020-10-31 Thread Vino via Digitalmars-d-learn
Hi All, Request your help on the below code, the requirement is that result's are stored in one single container. Code: import asdf; import std.algorithm: map; import std.container.array; import std.stdio: writeln; import std.typecons: Tuple, tuple; import std.range: lockstep; auto api1()