mirror of
https://github.com/fiddlerwoaroof/data-lens.git
synced 2025-11-08 18:26:32 +00:00
Remove dependency
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
:license "MIT"
|
:license "MIT"
|
||||||
:depends-on (:cl-ppcre
|
:depends-on (:cl-ppcre
|
||||||
:alexandria
|
:alexandria
|
||||||
:fwoar.lisputils)
|
)
|
||||||
:serial t
|
:serial t
|
||||||
:components ((:file "lens")))
|
:components ((:file "lens")))
|
||||||
|
|
||||||
|
|||||||
13
lens.lisp
13
lens.lisp
@ -258,13 +258,12 @@
|
|||||||
(let ((it-length (length it)))
|
(let ((it-length (length it)))
|
||||||
(when (> it-length 0)
|
(when (> it-length 0)
|
||||||
(values-list
|
(values-list
|
||||||
(reduce (fw.lu:destructuring-lambda ((cur-max max-idx)
|
(reduce (lambda (|arg1764| |arg1765|)
|
||||||
(next next-idx))
|
(destructuring-bind (cur-max max-idx) |arg1764|
|
||||||
(if (funcall relation
|
(destructuring-bind (next next-idx) |arg1765|
|
||||||
(funcall measure cur-max)
|
(if (funcall relation (funcall measure cur-max) (funcall measure next))
|
||||||
(funcall measure next))
|
(list next next-idx)
|
||||||
(list next next-idx)
|
(list cur-max max-idx)))))
|
||||||
(list cur-max max-idx)))
|
|
||||||
(funcall (zipping 'vector)
|
(funcall (zipping 'vector)
|
||||||
it
|
it
|
||||||
(alexandria:iota it-length))))))))
|
(alexandria:iota it-length))))))))
|
||||||
|
|||||||
Reference in New Issue
Block a user