adjust some calls to sort: use symbol<? and use strict
predicates (to get stability) original commit: 680d29d9cce18b6e04eaae16a122fc5c09343dc8
This commit is contained in:
parent
597246e13d
commit
000b532600
|
@ -862,7 +862,7 @@
|
|||
;; has been shrunk one size, larger sizes for that child will not be
|
||||
;; considered, and shrinking always proceeds from the left to the right.
|
||||
(define (candidate-sizes lolon)
|
||||
(define all-boxes (map (λ (x) (box (sort x >=))) lolon))
|
||||
(define all-boxes (map (λ (x) (box (sort x >))) lolon))
|
||||
(define answer '())
|
||||
(define (record-current)
|
||||
(set! answer (cons (map car (map unbox all-boxes)) answer)))
|
||||
|
|
|
@ -1311,7 +1311,7 @@
|
|||
(hash-map search-bubble-table
|
||||
(λ (x true)
|
||||
(list x (if replace-mode? 'light-search-color 'normal-search-color)))))
|
||||
string<=?
|
||||
string<?
|
||||
#:key (λ (x) (format "~s" (car x)))))
|
||||
|
||||
|
||||
|
@ -4039,7 +4039,7 @@ designates the character that triggers autocompletion
|
|||
(map sym->mpi (exported-index-desc-from-libs desc))))
|
||||
(hash-set! ht (symbol->string name) #t)))))))
|
||||
(xref-index xref))
|
||||
(sort (hash-map ht (λ (x y) x)) string<=?))))
|
||||
(sort (hash-map ht (λ (x y) x)) string<?))))
|
||||
|
||||
;; ============================================================
|
||||
;; auto complete example code
|
||||
|
|
Loading…
Reference in New Issue
Block a user