--[[
	Create a copy of a list where each value is transformed by `callback`
]]

function Functional.Map(list, callback)
	local new = {}

	for key = 1, #list do
		new[key] = callback(list[key], key)
	end

	return new
end
