Browse code
Remove dependency
Ed Langley authored on 31/12/2018 22:19:19
Showing 2 changed files
Showing 2 changed files
... | ... |
@@ -258,13 +258,12 @@ |
258 | 258 |
(let ((it-length (length it))) |
259 | 259 |
(when (> it-length 0) |
260 | 260 |
(values-list |
261 |
- (reduce (fw.lu:destructuring-lambda ((cur-max max-idx) |
|
262 |
- (next next-idx)) |
|
263 |
- (if (funcall relation |
|
264 |
- (funcall measure cur-max) |
|
265 |
- (funcall measure next)) |
|
266 |
- (list next next-idx) |
|
267 |
- (list cur-max max-idx))) |
|
261 |
+ (reduce (lambda (|arg1764| |arg1765|) |
|
262 |
+ (destructuring-bind (cur-max max-idx) |arg1764| |
|
263 |
+ (destructuring-bind (next next-idx) |arg1765| |
|
264 |
+ (if (funcall relation (funcall measure cur-max) (funcall measure next)) |
|
265 |
+ (list next next-idx) |
|
266 |
+ (list cur-max max-idx))))) |
|
268 | 267 |
(funcall (zipping 'vector) |
269 | 268 |
it |
270 | 269 |
(alexandria:iota it-length)))))))) |