local j=script.Parent local g=require(j.copy)local B=j.Parent local N=require(B.t)local f=N.tuple(N.table,N.any)local function i(j,B,N)assert(f(j,B))local i=g(j)i[B]=N return i end return i
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