Anonymous

Module:FunList: Difference between revisions

From Melvor Idle
toDictionary returns a table instead of a FL
(Add custom iterator)
(toDictionary returns a table instead of a FL)
Line 328: Line 328:
dict[key] = val
dict[key] = val
end
end
 
-- Create and return a new FL so we can chain more functions if needed.
return dict
local newFL = funlist.new(dict)
return newFL
end
end


2,875

edits