Let’s consider the following array definition:
let v = [[0, 3], [10, 13]];
This is simple and compact, as long as the type can be inferred.
For an array of type f32 I need to write either:
let v = [[0f32, 3f32], [10f32, 13f32]];
let v: [[f32; 2]; 2] = [[0.0, 3.0], [10.0, 13.0]];
which seems a lot of additional typing just to specify the type.
Is there a better way?