Lars Mueller
|
39335cf76f
|
Add table.(slice|splice|move)
|
2022-10-01 14:34:31 +02:00 |
|
Lars Mueller
|
fd14e2abb6
|
Remove table.best_value & replace table.(min|max)
|
2022-10-01 13:52:00 +02:00 |
|
Lars Mueller
|
aca117a244
|
Make all table copy variants preserve metatables
|
2022-10-01 13:26:29 +02:00 |
|
Lars Mueller
|
8b538587ad
|
Add table.clear
|
2022-09-30 15:31:11 +02:00 |
|
Lars Mueller
|
19f0ac48ad
|
Add table.same for fast table equality checking
|
2022-09-30 15:13:55 +02:00 |
|
Lars Mueller
|
4ded26be2c
|
table.copy: Preserve metatables by default
|
2022-09-30 12:55:44 +02:00 |
|
Lars Mueller
|
49595be3ac
|
Deprecate comparators in favor of less than funcs;
switch binary search return values to `nil, insertion index` if the value is not found
|
2022-09-30 12:48:59 +02:00 |
|
Lars Mueller
|
9e4ee70e21
|
Remove deprecated tablecopy alias
|
2022-09-17 19:35:33 +02:00 |
|
Lars Mueller
|
83c20cf89d
|
Minor cleanup
|
2022-09-06 15:04:25 +02:00 |
|
Lars Mueller
|
0ae7c97e40
|
Deprecate table.tablecopy alias
|
2022-09-06 12:36:03 +02:00 |
|
Lars Mueller
|
aa85f75d6d
|
Add table.merge
|
2022-07-10 13:07:11 +02:00 |
|
Lars Mueller
|
ea9197c571
|
table.deep_to_add: Don't emit empty subtables
|
2022-07-10 12:21:17 +02:00 |
|
Lars Mueller
|
187723118c
|
Add table.hpairs
|
2022-07-10 12:18:35 +02:00 |
|
Lars Mueller
|
d4c6468cec
|
Add table.count_equals
|
2022-07-10 12:06:30 +02:00 |
|
Lars Mueller
|
494d109833
|
Add table.deepset; alias table.nilget to deepget
|
2022-07-10 12:00:38 +02:00 |
|
Lars Mueller
|
317123619b
|
Fix modlib.table.union
|
2022-01-20 15:57:22 +01:00 |
|
Lars Mueller
|
d2b6b4ec64
|
Add table.default
|
2022-01-20 15:13:11 +01:00 |
|
Lars Mueller
|
b1ca160751
|
Add table.ivalues
|
2021-11-13 16:34:49 +01:00 |
|
Lars Mueller
|
e84f090d03
|
Add table.from_iterator
|
2021-11-13 16:30:23 +01:00 |
|
Lars Mueller
|
e6a71ac13f
|
Add more small table utils
|
2021-11-13 16:29:00 +01:00 |
|
Lars Mueller
|
6b8fb8da91
|
Code quality improvements
|
2021-11-13 13:15:58 +01:00 |
|
Lars Mueller
|
022cd1a78e
|
Fix table.shuffle off-by-one error
|
2021-08-30 23:02:01 +02:00 |
|
Lars Mueller
|
daa0251632
|
Use tabs not spaces
|
2021-07-14 11:53:42 +02:00 |
|
Lars Mueller
|
b5e7f331c4
|
Replace count_values with count_objects
|
2021-07-07 17:32:33 +02:00 |
|
Lars Mueller
|
60ce6f3e53
|
Ignore NaN in table.count_values
|
2021-07-06 23:22:41 +02:00 |
|
Lars Mueller
|
1764665193
|
Add table.count_values
|
2021-07-06 10:31:42 +02:00 |
|
Lars Mueller
|
95415c0929
|
Add table.deep_foreach_any
|
2021-07-03 12:19:44 +02:00 |
|
Lars Mueller
|
4175974def
|
Redo environments
|
2021-06-17 19:45:08 +02:00 |
|
Lars Mueller
|
0315a77696
|
Localize globals per file for all modules
|
2021-06-11 20:47:29 +02:00 |
|
Lars Mueller
|
adb4b4fdaf
|
Indentation: Use only tabs
|
2021-03-27 20:10:49 +01:00 |
|
Lars Mueller
|
0c47e04347
|
Apply luk3yx's code quality suggestion
|
2021-03-25 18:02:20 +01:00 |
|
Lars Mueller
|
b3703ab91d
|
Add table.rope_len for determining length
|
2021-03-04 13:42:09 +01:00 |
|
Lars Mueller
|
d728157204
|
Add table.rope with :write and :to_text
|
2021-03-04 08:30:19 +01:00 |
|
Lars Mueller
|
ca6757f326
|
table: get rid of unneeded metatable duplication
|
2021-02-27 17:16:30 +01:00 |
|
Lars Mueller
|
311ff9cb10
|
Make table.find return nil if not found
|
2021-02-06 11:48:00 +01:00 |
|
Lars Mueller
|
15ce314e8c
|
Simplify & alter nilget
|
2021-01-19 13:18:25 +01:00 |
|
Lars Mueller
|
0edb8d378f
|
Add table.deep_to_add
|
2021-01-02 17:06:26 +01:00 |
|
Lars Mueller
|
04a33ca841
|
Spice up table equality checks
|
2021-01-02 17:02:34 +01:00 |
|
Lars Mueller
|
0eb59a85bf
|
Fix table.difference (fix for cellestial)
|
2021-01-02 12:30:52 +01:00 |
|
Lars Mueller
|
0ddc554ac0
|
Add table.is_circular
|
2020-12-25 17:54:36 +01:00 |
|
Lars Mueller
|
5839734cb3
|
Add table.equals_content
|
2020-12-23 11:00:13 +01:00 |
|
Lars Mueller
|
8f4b73e99d
|
Functional helpers, table.deep_add_all
|
2020-12-20 15:21:03 +01:00 |
|
Lars Mueller
|
f64fa5bfb4
|
Fix modlib.table.process(tab, func)
|
2020-12-19 11:40:52 +01:00 |
|
Lars Mueller
|
a55a8b07ee
|
Make copy & tablecopy deepcopy aliases
|
2020-12-12 16:28:52 +01:00 |
|
Lars Mueller
|
43f59aa329
|
Table: Fix rpairs, unique and values, formatting
|
2020-12-12 16:15:26 +01:00 |
|
Lars Mueller
|
9f5de0d3a6
|
Add table.nilget
|
2020-12-12 15:55:09 +01:00 |
|
Lars Mueller
|
d6774da79f
|
Implement table.shallowcopy
|
2020-12-01 19:29:18 +01:00 |
|
Lars Mueller
|
77977a52e7
|
Use ... instead of arg
|
2020-10-14 11:16:25 +02:00 |
|
Lars Mueller
|
b912582199
|
Fix table.binary_search, add table.map_keys
|
2020-10-06 19:13:25 +02:00 |
|
Lars Mueller
|
cbad65e52b
|
Implemented deepcopy, improved code quality
|
2020-08-23 22:38:55 +02:00 |
|