mirror of
https://github.com/fiddlerwoaroof/data-lens.git
synced 2025-11-08 10:16:32 +00:00
bug: add test with custom TEST and COMBINER for COMPRESSING-RUNS
This commit is contained in:
@ -79,14 +79,13 @@
|
||||
leftovers t)
|
||||
acc)
|
||||
(progn (prog1 (funcall rf acc last)
|
||||
(setf last (funcall combiner last next))))))
|
||||
(setf last next)))))
|
||||
((it)
|
||||
(funcall rf
|
||||
(if leftovers
|
||||
(funcall rf it last)
|
||||
it)))))))
|
||||
|
||||
|
||||
(defun deduping (&optional (test 'eql))
|
||||
(compressing-runs :test test))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user