File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
typed-racket-lib/typed-racket/rep Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 143143 [#:for-each (f) (for-each f ps)]
144144 [#:custom-constructor/contract
145145 (-> (listof (or/c TypeProp? NotTypeProp? LeqProp?)) OrProp?)
146- (let ([ps (sort ps (λ (p q) (unsafe-fx<= (eq-hash-code p)
147- (eq-hash-code q))))])
146+ (let ([ps (sort ps unsafe-fx<= #:key eq-hash-code)])
148147 (intern-single-ref!
149148 orprop-intern-table
150149 ps
Original file line number Diff line number Diff line change 18131813
18141814;; sorts the given field of a Row by the member name
18151815(define (sort-row-clauses clauses)
1816- (sort clauses ( λ (x y) ( symbol<? (car x) ( car y))) ))
1816+ (sort clauses symbol<? #:key car))
18171817
18181818(define-match-expander Class:*
18191819 (λ (stx)
You can’t perform that action at this time.
0 commit comments