You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
local M = {}
|
|
|
|
function M.set_of(list)
|
|
local set = {}
|
|
for i = 1, #list do
|
|
set[list[i]] = true
|
|
end
|
|
return set
|
|
end
|
|
|
|
return M
|