Module:FunList: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 168: Line 168:
function funlist:concat(tbl)
function funlist:concat(tbl)
assert(type(tbl) == 'table')
assert(type(tbl) == 'table')
     for k, v in pairs(tbl) do
     for _, v in pairs(tbl) do
     self.mytable[k] = v
     table.insert(self.mytable, v)
     end
     end
     return self
     return self
end
function funlist:merge(tbl)
assert(type(tbl) == 'table')
for k, v in pairs(tbl) do
self.mytable[k] = v
end
return self
end
end


2,875

edits