Skip to content

Commit

Permalink
remove overly aggressive use of procedure-specialize
Browse files Browse the repository at this point in the history
  • Loading branch information
rfindler committed Dec 30, 2015
1 parent a5b3d6b commit f2f38cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions racket/collects/racket/contract/private/orc.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@
[(null? rst) fst-pred]
[else
(let ([r (loop (car rst) (cdr rst))])
(procedure-specialize
(λ (x) (or (fst-pred x) (r x)))))])))]))
(λ (x) (or (fst-pred x) (r x))))])))]))

(define (single-or/c-late-neg-projection ctc)
(define c-proj (get/build-late-neg-projection (single-or/c-ho-ctc ctc)))
Expand Down

0 comments on commit f2f38cd

Please sign in to comment.