aboutsummaryrefslogtreecommitdiffstats
path: root/util/array.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.array: Add pluck() method to pick a given property from each itemMatthew Wild2011-12-071-0/+7
|
* util.array: Fix array.collect() for iterators that expect initial value of ↵Matthew Wild2011-09-251-1/+1
| | | | var to be preserved
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-2/+2
|
* Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
|
* util.array: Oh no it isn't!Matthew Wild2009-10-081-1/+0
|
* util.array: Small logic fix for array:filter()Matthew Wild2009-10-051-1/+1
|
* util.array: Fix for array:filter() (in-place filtering)Matthew Wild2009-10-051-2/+13
|
* util.array: Per-array methods now always mutate the array, array.* return a ↵Matthew Wild2009-10-051-21/+49
| | | | mutated copy, and most methods (e.g. sort) now return the array
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* util.array: Add support for + operator to create a new array from two arrays ↵Matthew Wild2009-06-201-0/+5
| | | | joined
* util.array: Make array:reverse() and array:shuffle() return the array to ↵Matthew Wild2009-06-201-0/+2
| | | | allow chaining
* util.array: Add array:append() method, to append a new array to an existing oneMatthew Wild2009-06-201-0/+8
|
* util.array: Add array.collect() to collect results from iterators into an ↵Matthew Wild2009-04-221-1/+14
| | | | array, and use module() to correctly set the module name
* util.array: Add :reverse() methodMatthew Wild2009-03-291-0/+8
|
* util.array: Expose array.* functions, to be used for unwrapped arraysMatthew Wild2009-03-261-12/+14
|
* util.array: New array libraryMatthew Wild2009-03-251-0/+45