如何用 iota 生成 int [] 数组?

How to generate array of int [] with iota?

我需要生成 int [] 的数组。我该怎么做。方法 iota return uint,但我需要得到 ints:

int [] myarr2 = (iota(0, 10).array);

app.d(11): Error: cannot implicitly convert expression (array(iota(0, 10))) of type uint[] to int[]

int[] myarr2 = iota!(int)(0, 10).array;