Re: problem with multiwayMerge and chunkBy

2017-11-05 Thread Nicholas Wilson via Digitalmars-d-learn
On Sunday, 5 November 2017 at 22:47:10 UTC, Nicholas Wilson wrote: f.multiwayMerge.chunks(128).joiner.chunkBy!(pred).writeln; since it seems to be the iteration that stuff things up and this changes it. If that doesn't work you could try rolling your own version of chunk with `take` and a

Re: problem with multiwayMerge and chunkBy

2017-11-05 Thread Nicholas Wilson via Digitalmars-d-learn
On Sunday, 5 November 2017 at 13:32:57 UTC, Matthew Gamble wrote: On Sunday, 5 November 2017 at 03:21:06 UTC, Nicholas Wilson wrote: On Saturday, 4 November 2017 at 18:57:17 UTC, Matthew Gamble wrote: [...] It should, this looks like a bug somewhere, please file one at issues.dlang.org/ .

Re: problem with multiwayMerge and chunkBy

2017-11-05 Thread Matthew Gamble via Digitalmars-d-learn
On Sunday, 5 November 2017 at 03:21:06 UTC, Nicholas Wilson wrote: On Saturday, 4 November 2017 at 18:57:17 UTC, Matthew Gamble wrote: [...] It should, this looks like a bug somewhere, please file one at issues.dlang.org/ . in the mean time struct Replicate(T) { Tuple!(T, uint) e;

Re: problem with multiwayMerge and chunkBy

2017-11-04 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 4 November 2017 at 18:57:17 UTC, Matthew Gamble wrote: Dear most helpful and appreciated D community, I'm a non-pro academic biologist trying to code a modeler of transcription in D. I've run into a small roadblock. Any help would be greatly appreciated. I'm hoping someone can