On 26.11.19 23:08, Taylor R Hillegeist wrote:
On Tuesday, 26 November 2019 at 16:33:06 UTC, Timon Gehr wrote:
    int[][] y=x.chunkBy!((a,b)=>a==b).map!array.array;


how did you know to do that?


chunkBy with a binary predicate returns a range of ranges. So if I want an array of arrays I have to convert both the inner ranges and the outer range.

Reply via email to