diff options
Diffstat (limited to 'stdlib/csort.tl')
-rw-r--r-- | stdlib/csort.tl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/csort.tl b/stdlib/csort.tl index 44715236..345b4ce8 100644 --- a/stdlib/csort.tl +++ b/stdlib/csort.tl @@ -41,3 +41,6 @@ (defun csnsort (seq : (less-fun :) (key-fun :)) (cached-sort-body snsort)) + +(defun csort-group (seq : (key-fun :) (less-fun :)) + (partition-by key-fun (csort seq less-fun key-fun))) |