lua.wetgenes.tardis.array.set
a=a:set(1,2,3,4)
a=a:set({1,2,3,4})
a=a:set({1,2},{3,4})
a=a:set(function(i) return i end)
Assign some numbers to an array, all the above examples will assign 1,2,3,4 to the first four slots in the given array, as you can see we allow one level of tables. Any class that is based on this array class can be used instead of an explicit table. So we can use a v2 or v3 or m4 etc etc.
if more numbers are given than the size of the array then they will be ignored.
if less numbers are given than the size of the array then the last number will be repeated.
if no numbers are given then nothing will be done
if a function is given it will be called with the index and should return a number.