range code doesn't work for multi-array

AlphaPurned Alpha at Beta.com
Tue Dec 17 07:40:28 UTC 2019

if arr is a single array the follow code works(removing [i]) but 
if it is a double array it fails. arr as type double[A][B]. 
arr[i] has type double[A].
v ~= arr[i].map!(a=>to!string(a)~",").join;

   with `Range = double[21]`
   must satisfy the following constraint:
`       isInputRange!(Unqual!Range)`

More information about the Digitalmars-d-learn mailing list