import std.container: Array;
import std.algorithm: map;
import std.range: transposed;
import std.stdio: writeln;
Array!(Array!int) a;
a.insertBack(Array!int(1,2,3));
a.insertBack(Array!int(4,5,6));
writeln(a[].map!((ref a) => a[]).transposed);
Error: template std.range.transposed cannot deduce function from argument types !()(MapResult!(__lambda1, RangeT!(Array!(Array!int))))
I am not quite sure what happens here, isn't this supposed to be a range of ranges? Why can't D deduce the type?
How would I transform an Array!(Array!T) to a range of ranges?