aboutsummaryrefslogtreecommitdiffstats
path: root/util/array.lua
Commit message (Expand)AuthorAgeFilesLines
* util.array: Fix new() library functionKim Alvefur2023-07-221-1/+3
* util.array: Expose new() on module tableKim Alvefur2023-06-101-0/+2
* util.array: Add :slice() method + testsMatthew Wild2021-09-121-0/+34
* util.array: pluck: Support default value to avoid holesMatthew Wild2020-06-041-2/+6
* util.array: Fix equality metamethod in Lua 5.3Kim Alvefur2020-01-151-0/+5
* util.array: Add __div for parity with util.setMatthew Wild2018-10-211-0/+19
* util.array: Break long lineMatthew Wild2018-10-191-1/+5
* util.array: Add freeze metamethodKim Alvefur2018-10-121-0/+2
* util.array: Add a __name field to metatableKim Alvefur2018-02-161-1/+1
* util.array: Add method for filtering out duplicate valuesKim Alvefur2017-03-311-0/+12
* util.array: Add O(n) equality check metamethodKim Alvefur2017-03-161-0/+13
* util.array: Remove unused arguments [luacheck]Kim Alvefur2016-10-181-1/+1
* util.array: Rename arguments to avoid name clash [luacheck]Kim Alvefur2016-10-181-4/+4
* util.array: Just use table.remove as array:pop()Kim Alvefur2015-12-231-5/+1
* util.array: Fix minory style issuesKim Alvefur2015-12-231-10/+10
* util.*: Remove use of module() function, make all module functions local and ...Kim Alvefur2015-02-211-3/+0
* util.array: Add type() localKim Alvefur2014-09-171-0/+1
* util.array: Improve array:reverse() and make it work as both method and non-m...Kim Alvefur2013-10-061-9/+20
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-3/+3
* util.array: Wrap tostring() output in {} (otherwise empty arrays print as "").Waqas Hussain2013-05-071-1/+1
* util.array: Accept an iterator to the array constructorMatthew Wild2012-08-081-1/+4
* util.array: Avoid globals.Waqas Hussain2011-12-091-6/+11
* util.array: Make array:push() chainable.Waqas Hussain2011-12-091-0/+1
* util.array: Expand some of the more basic methods to act more sensibly than t...Matthew Wild2011-12-071-9/+27
* 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 va...Matthew Wild2011-09-251-1/+1
* 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 m...Matthew Wild2009-10-051-21/+49
* 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
* util.array: Make array:reverse() and array:shuffle() return the array to allo...Matthew Wild2009-06-201-0/+2
* 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 arr...Matthew Wild2009-04-221-1/+14
* 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