Log

util/set.lua @ 11828:024ac556e907

description author age
util.set: Add :contains_set() method Matthew Wild 2021-09-12
Merge 0.11->trunk Matthew Wild 2021-05-13
util.set: Add is_set() to test if an object is a set 0.11 Matthew Wild 2021-05-10
util.set: Fix equality metamethod in Lua 5.3 Kim Alvefur 2020-01-15
util.set: Add freeze metamethod Kim Alvefur 2018-10-11
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur 2018-02-28
util.set: Add a __name field to metatable Kim Alvefur 2018-02-16
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
util.set: Rename method argument to avoid name clash [luacheck] Matthew Wild 2015-05-06
util.set: Add luacheck annotation for methods not referencing 'self' Matthew Wild 2015-05-06
util.set: Remove unnecessary local declaration, arguments are already locals [luacheck] Matthew Wild 2015-05-06
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