Log

util/array.lua @ 5949:a9abbdeddbf3

description author age
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