Log

util/array.lua @ 6232:d7dc71d9171d

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