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 18061806
18071807;; sorts the given field of a Row by the member name
18081808(define (sort-row-clauses clauses)
1809- (sort clauses ( λ (x y) ( symbol<? (car x) ( car y))) ))
1809+ (sort clauses symbol<? #:key car))
18101810
18111811(define-match-expander Class:*
18121812 (λ (stx)
You can’t perform that action at this time.
0 commit comments