summaryrefslogtreecommitdiffstats
path: root/stdlib/csort.tl
Commit message (Collapse)AuthorAgeFilesLines
* New function: csort-group.Kaz Kylheku2023-08-171-0/+3
| | | | | | | | | | | | | * autoload.c (csort_set_entries): Register csort-group as autoload trigger for stdlib/csort.tl. * stdlib/csort.tl (csort-group): New function. * tests/012/sort.tl: Tests for sort-group and csort-group. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
* New cached sorting functions.Kaz Kylheku2023-06-281-0/+43
These functions are useful when sorting a sequence using an expensive keyfun. * autoload.c (csort_set_entries, csort_instantiate): New static functions. (autlod_init): Register autoloading of csort module via new functions. * stdlib/csort.tl: New file. * tests/012/sort.tl: csort functions included in tests. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.