Log

util/array.lua @ 8521:6f5ce0f09f40

description author age
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
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
util.array: Oh no it isn't! Matthew Wild Thu, 08 Oct 2009 18:41:30 +0100
util.array: Small logic fix for array:filter() Matthew Wild Mon, 05 Oct 2009 18:39:28 +0100
util.array: Fix for array:filter() (in-place filtering) Matthew Wild Mon, 05 Oct 2009 17:56:31 +0100
util.array: Per-array methods now always mutate the array, array.* return a mutated copy, and most methods (e.g. sort) now return the array Matthew Wild Mon, 05 Oct 2009 14:38:04 +0100
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
util.array: Add support for + operator to create a new array from two arrays joined Matthew Wild Sat, 20 Jun 2009 22:47:12 +0100
util.array: Make array:reverse() and array:shuffle() return the array to allow chaining Matthew Wild Sat, 20 Jun 2009 22:45:07 +0100
util.array: Add array:append() method, to append a new array to an existing one Matthew Wild Sat, 20 Jun 2009 22:43:54 +0100
util.array: Add array.collect() to collect results from iterators into an array, and use module() to correctly set the module name Matthew Wild Wed, 22 Apr 2009 17:46:17 +0100
util.array: Add :reverse() method Matthew Wild Sun, 29 Mar 2009 13:50:59 +0100
util.array: Expose array.* functions, to be used for unwrapped arrays Matthew Wild Thu, 26 Mar 2009 03:55:45 +0000
util.array: New array library Matthew Wild Wed, 25 Mar 2009 03:00:09 +0000