use built-in symbol<?
This commit is contained in:
parent
5ea627165e
commit
7017e3fb9d
|
@ -311,10 +311,6 @@ Other:
|
||||||
((=) c2)
|
((=) c2)
|
||||||
((>) '>)))
|
((>) '>)))
|
||||||
|
|
||||||
(define (symbol<? x y)
|
|
||||||
;; FIXME: need prim symbol<? to avoid allocation!
|
|
||||||
(string<? (symbol->string x) (symbol->string y)))
|
|
||||||
|
|
||||||
(define (vector-cmp x y i natural?)
|
(define (vector-cmp x y i natural?)
|
||||||
(cond [(< i (vector-length x))
|
(cond [(< i (vector-length x))
|
||||||
(if (< i (vector-length y))
|
(if (< i (vector-length y))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user