local function Q(Q,A)local P={}local V=0 for x=1,#Q,1 do if x==A then V=1 else P[x-V]=Q[x]end end return P end return Q
--[[
	Remove the element at the given index.
]]
local function removeIndex(list, index)
	local new = {}
	local removed = 0

	for i = 1, #list do
		if i == index then
			removed = 1
		else
			new[i - removed] = list[i]
		end
	end

	return new
end

return removeIndex
