local c={}c.__index=c function c.unpack(c)return table.unpack(c,1,c.n)end return function(...)return setmetatable(table.pack(...),c)end
local arrayClass = {}
arrayClass.__index = arrayClass

--function arrayClass:__len()
--	return self.n
--end

function arrayClass:unpack()
	return table.unpack(self, 1, self.n)
end

return function(...)
	return setmetatable(table.pack(...), arrayClass)
end
