Changes

no edit summary
Line 32: Line 32:  
end
 
end
   −
function Utils.size(xs, k)
+
function Utils.size(xs)
 +
local r = 0
 +
for _ in pairs(xs) do
 +
r = r + 1
 +
end
 +
return r
 +
end
 +
 
 +
function Utils.removekey(xs, k)
 
local e = xs[k]
 
local e = xs[k]
 
xs[k] = nil
 
xs[k] = nil
cssedit, gkautomate
6,926

edits