function t.tuple(...)local N={...}return function(...)local u={...}for v=1,#N,1 do local L,b=N[v](u[v])if L==false then return false,string.format("\066\097\100 \116\117\112\108\101 \105\110\100\101\120 \035\037\100\058\n\t\037\115",v,b or"")end end return true end end

function t.tuple(...)
	local checks = {...}
	return function(...)
		local args = {...}
		for i = 1, #checks do
			local success, errMsg = checks[i](args[i])
			if success == false then
				return false, string.format("Bad tuple index #%d:\n\t%s", i, errMsg or "")
			end
		end
		return true
	end
end
