use built-in symbol<?

This commit is contained in:
Ryan Culpepper 2013-12-05 11:42:46 -05:00
parent 5ea627165e
commit 7017e3fb9d

View File

@ -311,10 +311,6 @@ Other:
((=) 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?)
(cond [(< i (vector-length x))
(if (< i (vector-length y))