main
Matthew Butterick 5 years ago
parent 6a5081211d
commit 9194a078c2

@ -43,6 +43,7 @@
(match query-piece
[(cons pred 'this)
;; find the querying quad, and from there search backward
;; todo: `this` should also cut down the domain of searching
(for/first ([vidx (in-range (vector-memq starting-q vec) -1 -1)]
#:when (pred (vector-ref vec vidx)))
vidx)]

Loading…
Cancel
Save