static array of lengths
Regular slice
import mir.ndslice.topology : iota; assert(iota(3, 4, 5).shape == cast(size_t[3])[3, 4, 5]);
Packed slice
import mir.ndslice.topology : pack, iota; size_t[3] s = [3, 4, 5]; assert(iota(3, 4, 5, 6, 7).pack!2.shape == s);