function t.tuple(...)local b={...}return function(...)local w={...}for b,H in ipairs(b)do local V,P=H(w[b])if V==false then return false,string.format("\066\097\100 \116\117\112\108\101 \105\110\100\101\120 \035\037\115\058\n\t\037\115",b,P or"")end end return true end end

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

		return true
	end
end
