Commit Graph

9 Commits

Author SHA1 Message Date
Max Cahill
715765003d [modified] moderate functional refactor (BREAKING)
- modified functional.reduce signature; takes seed value before function now as this results in much more readable calling code
- added filter_inplace and aliased remap as map_inplace to make semantics more clear
- rewrote many functions to use numeric for as a tiny speed boost at the cost of library code readability
[modified] sequence to be compatible
2020-11-10 20:51:43 +11:00
Max Cahill
7d3b568ac5 [added] correct sequence support for collapse (and flatten) 2020-07-02 17:05:26 +10:00
Max Cahill
11483c52ad [fixed] sequence regressions 2020-06-02 15:01:21 +10:00
Max Cahill
21c672989c [modified] sequence with a few fixes and newer comments since the module refactor 2020-05-14 15:28:38 +10:00
Max Cahill
e1f759cb90 [fixed] sequence:reduce typo 2020-04-07 16:19:38 +10:00
Max Cahill
6386aaf298 [modified] big refactor to localised modules and require("batteries"):export() for global usage; renamed files table to tablex and math to mathx to allow using the library in your module root if you really want to. 2020-04-07 13:49:10 +10:00
Max Cahill
ad2fc71e7a [fixed] non-global compatible 2020-03-15 21:22:22 +11:00
Max Cahill
66a9f41474 [modified] renamed to batteries, added global export suppression and more documentation 2020-03-15 20:28:50 +11:00
Max Cahill
6e7cabe9e0 [modified] split sequence and unique_mapping to their own files
[added] async to init
2020-01-31 11:56:37 +11:00