Lua-Collections
Lua-Collections copied to clipboard
A robust Lua collection class based on Laravel collections.
looks like a great set of utilities to me, would love to use it if actively maintained
https://luarocks.org/modules/clockvapor/collections That library has a lot of unimplemented functions and no statistical calculation functions and seems to be abandoned so overriding it could be possible, but it would probably be...
It would be beneficial to have a method that returns only one of each item in the collection that matches a particular value. ```lua collect({1, 1, 2, 2, 3, 4,...
Using clone with nested tables does not actually clone the nested tables, instead they are regular references to the original nested tables. This caused a bit of confusion until I...
A method to return a boolean; if true, the table passed to the method matches the values in the collection, even if they do not share the same keys and...
It would be useful to be able to optionally alter the behaviour of `Collection:split()` by passing a 2nd argument to the method so that the chunks it returns are as...