Commit Graph

43 Commits

Author SHA1 Message Date
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
Lars Mueller
68b5c4013f Additional configuration formats, experimental vector library, other utilities 2020-06-28 22:42:24 +02:00
Lars Mueller
8003227d33 rolling-14 2020-04-05 13:14:05 +02:00
Lars Mueller
4ee679f187 rolling-13 2020-04-05 10:42:44 +02:00
Lars Mueller
faa47ab595 rolling-11 2020-03-25 10:54:01 +01:00
Lars Mueller
77c7dd5175 rolling-10 2020-03-24 23:32:56 +01:00
Lars Mueller
892a27deef rolling-9 2020-03-23 20:20:43 +01:00
Lars Mueller
94e38087e6 rolling-7 2020-02-29 12:55:02 +01:00
Lars Mueller
b25fc33e64 Structure overhaul 2020-02-09 01:39:54 +01:00