Log

util/array.lua @ 13204:c9ef35fab0b1

description author age
Merge 0.12->trunk Kim Alvefur Sat, 10 Jun 2023 13:06:05 +0200
util.array: Expose new() on module table 0.12 Kim Alvefur Sat, 10 Jun 2023 12:14:12 +0200
util.array: Change tostring format to [a,b,c] Kim Alvefur Thu, 06 Apr 2023 16:27:37 +0200
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
util.array: Take advantage of table.move() Matthew Wild Fri, 18 Mar 2022 15:22:00 +0000
util.array: Add :slice() method + tests Matthew Wild Sun, 12 Sep 2021 10:50:20 +0100
util.array: pluck: Support default value to avoid holes Matthew Wild Thu, 04 Jun 2020 10:39:12 +0100
util.array: Fix equality metamethod in Lua 5.3 Kim Alvefur Wed, 15 Jan 2020 21:08:01 +0100
util.array: Add __div for parity with util.set Matthew Wild Sun, 21 Oct 2018 15:38:55 +0100
util.array: Break long line Matthew Wild Fri, 19 Oct 2018 13:31:00 +0100
util.array: Add freeze metamethod Kim Alvefur Fri, 12 Oct 2018 00:51:52 +0200
util.array: Add a __name field to metatable Kim Alvefur Fri, 16 Feb 2018 08:23:15 +0100
util.array: Add method for filtering out duplicate values Kim Alvefur Fri, 31 Mar 2017 17:29:08 +0200
util.array: Add O(n) equality check metamethod Kim Alvefur Thu, 16 Mar 2017 19:09:57 +0100
util.array: Remove unused arguments [luacheck] Kim Alvefur Tue, 18 Oct 2016 15:16:30 +0200
util.array: Rename arguments to avoid name clash [luacheck] Kim Alvefur Tue, 18 Oct 2016 15:16:18 +0200
util.array: Just use table.remove as array:pop() Kim Alvefur Wed, 23 Dec 2015 08:39:22 +0100
util.array: Fix minory style issues Kim Alvefur Wed, 23 Dec 2015 08:32:13 +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.array: Add type() local Kim Alvefur Wed, 17 Sep 2014 14:50:44 +0200
util.array: Improve array:reverse() and make it work as both method and non-mutating function Kim Alvefur Sun, 06 Oct 2013 23:18:54 +0200
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
util.array: Wrap tostring() output in {} (otherwise empty arrays print as ""). Waqas Hussain Tue, 07 May 2013 10:41:03 -0400
util.array: Accept an iterator to the array constructor Matthew Wild Wed, 08 Aug 2012 11:49:31 +0100
util.array: Avoid globals. Waqas Hussain Fri, 09 Dec 2011 12:02:21 +0500
util.array: Make array:push() chainable. Waqas Hussain Fri, 09 Dec 2011 11:57:14 +0500
util.array: Expand some of the more basic methods to act more sensibly than their names suggested Matthew Wild Wed, 07 Dec 2011 05:14:58 +0000
util.array: Add pluck() method to pick a given property from each item Matthew Wild Wed, 07 Dec 2011 05:04:55 +0000
util.array: Fix array.collect() for iterators that expect initial value of var to be preserved Matthew Wild Sun, 25 Sep 2011 00:21:22 +0100
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500