aboutsummaryrefslogtreecommitdiffstats
path: root/util/set.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.set: Fix :include() and :exclude() methods to iterate the input set ↵Matthew Wild2013-09-021-2/+2
| | | | correctly
* util.set: Change '/' operator from filter to map+filter (nil to drop from ↵Matthew Wild2012-05-241-2/+3
| | | | set, false is a valid item). No code found which depends on current behaviour.
* util.set: Accept nil to add_list()Matthew Wild2012-01-221-2/+4
|
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-1/+1
|
* Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* util.set: Add set.xor() to get a set consisting of items not in both setsMatthew Wild2009-04-221-0/+4
|
* util.set: Add set:empty() to discover if the set is the empty setMatthew Wild2009-04-221-0/+4
|
* util.set: Add metatable to sets to allow +, -, /, ==, tostring and to double ↵Matthew Wild2009-04-221-4/+54
| | | | as iterators
* util.set: Rename private items container, optimise set.difference() and add ↵Matthew Wild2009-03-231-9/+18
| | | | set.intersection()
* util.set: Fix to make constructor work, and functions defined correctlyMatthew Wild2009-03-221-8/+14
|
* util.set: New util libraryMatthew Wild2009-03-221-0/+75