refactoring and default auction duration setting (this update will delete the history)

This commit is contained in:
Simon Hirsig
2019-03-27 13:22:57 +01:00
parent 5d3c20efb1
commit aa5daaf292
17 changed files with 132 additions and 113 deletions
+9
View File
@@ -10,6 +10,15 @@ M.immutable = setmetatable(T.acquire(), {
end
})
function M.assign(t1, t2)
for k, v in t2 do
if t1[k] == nil then
t1[k] = v
end
end
return t1
end
function M.enum(n)
if n > 0 then return immutable-{}, enum(n - 1) end
end