We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
inline-unnecessary-define
1 parent 01ea752 commit 971f61cCopy full SHA for 971f61c
typed-racket-lib/typed-racket/static-contracts/combinators/exist.rkt
@@ -29,12 +29,10 @@
29
(define (sc->contract v f)
30
(match-define (exist-combinator (list names doms rngs)) v)
31
(parameterize ([static-contract-may-contain-free-ids? #t])
32
- (define a
33
- (with-syntax ([doms-stx (f doms)]
34
- [rngs-stx (f rngs)]
35
- [n (car names)])
36
- #'(->i ([n doms-stx]) (_ (n) rngs-stx))))
37
- a))
+ (with-syntax ([doms-stx (f doms)]
+ [rngs-stx (f rngs)]
+ [n (car names)])
+ #'(->i ([n doms-stx]) (_ (n) rngs-stx)))))
38
(define (sc->constraints v f)
39
(simple-contract-restrict 'flat))])
40
0 commit comments