Log

util/set.lua @ 6282:bce801e40484

description author age
Merge 0.9->0.10 Matthew Wild 2013-11-10
util.set: Remove unused variable Matthew Wild 2013-11-10
util.set: :items() now returns an iterator instead of the underlying table. This is much more efficient than 'for item in set' (which still works for now). Current access to _items is generally done directly, this may change. Matthew Wild 2013-09-03
Merge 0.9->trunk Matthew Wild 2013-09-02
util.set: Fix :include() and :exclude() methods to iterate the input set correctly Matthew Wild 2013-09-02
Remove all trailing whitespace Florian Zeitz 2013-08-09
util.set: Change '/' operator from filter to map+filter (nil to drop from set, false is a valid item). No code found which depends on current behaviour. Matthew Wild 2012-05-24
util.set: Accept nil to add_list() Matthew Wild 2012-01-22
Monster whitespace commit (beware the whitespace monster). Waqas Hussain 2010-10-16
Update copyright headers for 2010 Matthew Wild 2010-03-22
Add copyright header to those files missing one Matthew Wild 2009-07-10
util.set: Add set.xor() to get a set consisting of items not in both sets Matthew Wild 2009-04-22
util.set: Add set:empty() to discover if the set is the empty set Matthew Wild 2009-04-22
util.set: Add metatable to sets to allow +, -, /, ==, tostring and to double as iterators Matthew Wild 2009-04-22
util.set: Rename private items container, optimise set.difference() and add set.intersection() Matthew Wild 2009-03-23
util.set: Fix to make constructor work, and functions defined correctly Matthew Wild 2009-03-22
util.set: New util library Matthew Wild 2009-03-22