function auConcatVararg(array, ...) local ret = {} local args = table.pack(...) auForEach(array, function(element) table.insert(ret, element) end) for i=1, args.n do table.insert(ret, args[i]) end return ret end function auConcatArrays(...) local ret = {} local args = table.pack(...) for i=1, args.n do local tbl = args[i] auForEach(tbl, function(re) table.insert(ret, re) end) end return ret end