Log

util/array.lua @ 12719:268b1a9162a9

description author age
util.array: Take advantage of table.move() Matthew Wild 2022-03-18
util.array: Add :slice() method + tests Matthew Wild 2021-09-12
util.array: pluck: Support default value to avoid holes Matthew Wild 2020-06-04
util.array: Fix equality metamethod in Lua 5.3 Kim Alvefur 2020-01-15
util.array: Add __div for parity with util.set Matthew Wild 2018-10-21
util.array: Break long line Matthew Wild 2018-10-19
util.array: Add freeze metamethod Kim Alvefur 2018-10-11
util.array: Add a __name field to metatable Kim Alvefur 2018-02-16
util.array: Add method for filtering out duplicate values Kim Alvefur 2017-03-31
util.array: Add O(n) equality check metamethod Kim Alvefur 2017-03-16
util.array: Remove unused arguments [luacheck] Kim Alvefur 2016-10-18
util.array: Rename arguments to avoid name clash [luacheck] Kim Alvefur 2016-10-18
util.array: Just use table.remove as array:pop() Kim Alvefur 2015-12-23
util.array: Fix minory style issues Kim Alvefur 2015-12-23
util.*: Remove use of module() function, make all module functions local and return them in a table at the end Kim Alvefur 2015-02-21
util.array: Add type() local Kim Alvefur 2014-09-17
util.array: Improve array:reverse() and make it work as both method and non-mutating function Kim Alvefur 2013-10-06
Remove all trailing whitespace Florian Zeitz 2013-08-09
util.array: Wrap tostring() output in {} (otherwise empty arrays print as ""). Waqas Hussain 2013-05-07
util.array: Accept an iterator to the array constructor Matthew Wild 2012-08-08
util.array: Avoid globals. Waqas Hussain 2011-12-09
util.array: Make array:push() chainable. Waqas Hussain 2011-12-09
util.array: Expand some of the more basic methods to act more sensibly than their names suggested Matthew Wild 2011-12-07
util.array: Add pluck() method to pick a given property from each item Matthew Wild 2011-12-07
util.array: Fix array.collect() for iterators that expect initial value of var to be preserved Matthew Wild 2011-09-24
Monster whitespace commit (beware the whitespace monster). Waqas Hussain 2010-10-16
Update copyright headers for 2010 Matthew Wild 2010-03-22
util.array: Oh no it isn't! Matthew Wild 2009-10-08
util.array: Small logic fix for array:filter() Matthew Wild 2009-10-05
util.array: Fix for array:filter() (in-place filtering) Matthew Wild 2009-10-05