Log

util/set.lua @ 12168:33e856c65033

description author age
util.set: Add :contains_set() method Matthew Wild Sun, 12 Sep 2021 10:51:27 +0100
Merge 0.11->trunk Matthew Wild Thu, 13 May 2021 11:17:13 +0100
util.set: Add is_set() to test if an object is a set 0.11 Matthew Wild Mon, 10 May 2021 16:41:56 +0100
util.set: Fix equality metamethod in Lua 5.3 Kim Alvefur Wed, 15 Jan 2020 21:18:30 +0100
util.set: Add freeze metamethod Kim Alvefur Fri, 12 Oct 2018 00:51:56 +0200
vairious: Add annotation when an empty environment is set [luacheck] Kim Alvefur Wed, 28 Feb 2018 20:06:26 +0100
util.set: Add a __name field to metatable Kim Alvefur Fri, 16 Feb 2018 08:23:26 +0100
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur Sat, 21 Feb 2015 10:36:37 +0100
util.set: Rename method argument to avoid name clash [luacheck] Matthew Wild Wed, 06 May 2015 19:51:35 +0100
util.set: Add luacheck annotation for methods not referencing 'self' Matthew Wild Wed, 06 May 2015 19:51:07 +0100
util.set: Remove unnecessary local declaration, arguments are already locals [luacheck] Matthew Wild Wed, 06 May 2015 19:50:40 +0100
Merge 0.9->0.10 Matthew Wild Sun, 10 Nov 2013 18:49:34 +0000
util.set: Remove unused variable Matthew Wild Sun, 10 Nov 2013 16:43:10 +0000
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 Tue, 03 Sep 2013 12:21:43 +0100
Merge 0.9->trunk Matthew Wild Tue, 03 Sep 2013 00:20:28 +0100
util.set: Fix :include() and :exclude() methods to iterate the input set correctly Matthew Wild Mon, 02 Sep 2013 20:52:19 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
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 Thu, 24 May 2012 18:51:18 +0100
util.set: Accept nil to add_list() Matthew Wild Sun, 22 Jan 2012 23:59:19 +0000
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
util.set: Add set.xor() to get a set consisting of items not in both sets Matthew Wild Wed, 22 Apr 2009 18:03:42 +0100
util.set: Add set:empty() to discover if the set is the empty set Matthew Wild Wed, 22 Apr 2009 18:03:02 +0100
util.set: Add metatable to sets to allow +, -, /, ==, tostring and to double as iterators Matthew Wild Wed, 22 Apr 2009 18:00:45 +0100
util.set: Rename private items container, optimise set.difference() and add set.intersection() Matthew Wild Mon, 23 Mar 2009 01:49:22 +0000
util.set: Fix to make constructor work, and functions defined correctly Matthew Wild Sun, 22 Mar 2009 12:37:56 +0000
util.set: New util library Matthew Wild Sun, 22 Mar 2009 12:13:39 +0000