diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-07-25 01:16:10 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-08-18 16:38:37 +0200 |
commit | bdf06469c772975ddcc6f2716f49e5acd2beec19 (patch) | |
tree | 43e8695a85d73b307e2179bf2c293590e7972428 /module/hnh/util | |
parent | Add more predefined macros mandated by the standard. (diff) | |
download | calp-bdf06469c772975ddcc6f2716f49e5acd2beec19.tar.gz calp-bdf06469c772975ddcc6f2716f49e5acd2beec19.tar.xz |
Up-prioritize api change for group-by.
Diffstat (limited to '')
-rw-r--r-- | module/hnh/util.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/hnh/util.scm b/module/hnh/util.scm index 096e38c5..7509fc86 100644 --- a/module/hnh/util.scm +++ b/module/hnh/util.scm @@ -323,7 +323,9 @@ (for value in lst (let ((key (proc value))) (hash-set! h key (cons value (hash-ref h key '()))))) - ;; NOTE changing this list to cons allows the output to work with assq-merge. + ;; TODO change this 'list' to 'cons'. + ;; It will give a "proper" alist, and also allows the output to work + ;; with assq-merge (hash-map->list list h))) ;; (split-by '(0 1 2 3 4 2 5 6) 2) |