local C={}local function J(J,E)local l=table.clone(J)for J,E in E do if E==C then l[J]=nil else l[J]=E end end return l end local function E(C)local J={}for C,E in ipairs(C)do J[E]=true end return J end local function l(C)local J={}local E=1 for C,l in pairs(C)do J[E]=l E=E+1 end return J end return{None=C,merge=J;toSet=E;values=l}
local None = {}

local function merge(one, two)
	local new = table.clone(one)

	for key, value in two do
		if value == None then
			new[key] = nil
		else
			new[key] = value
		end
	end

	return new
end

-- https://github.com/freddylist/llama/blob/master/src/List/toSet.luau
local function toSet(list)
	local set = {}

	for _, v in ipairs(list) do
		set[v] = true
	end

	return set
end

-- https://github.com/freddylist/llama/blob/master/src/Dictionary/values.luau
local function values(dictionary)
	local valuesList = {}

	local index = 1

	for _, value in pairs(dictionary) do
		valuesList[index] = value
		index = index + 1
	end

	return valuesList
end

return {
	None = None,
	merge = merge,
	toSet = toSet,
	values = values,
}
