local R=script.Parent local p=require(R.copy)local E=R.Parent local d=require(E.t)local t=d.tuple(d.table,d.any)local function N(R,E,d)assert(t(R,E))local N=p(R)N[E]=d return N end return N
local Dictionary = script.Parent
local copy = require(Dictionary.copy)

local Llama = Dictionary.Parent
local t = require(Llama.t)

local validate = t.tuple(t.table, t.any)

local function set(dictionary, key, value)
	assert(validate(dictionary, key))

	local new = copy(dictionary)

	new[key] = value

	return new
end

return set