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.
let-to-define
1 parent 73c5ea8 commit f12415fCopy full SHA for f12415f
typed-racket-lib/typed-racket/static-contracts/combinators/exist.rkt
@@ -29,11 +29,12 @@
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
- (let ([a (with-syntax ([doms-stx (f doms)]
33
- [rngs-stx (f rngs)]
34
- [n (car names)])
35
- #'(->i ([n doms-stx]) (_ (n) rngs-stx)))])
36
- a)))
+ (define a
+ (with-syntax ([doms-stx (f doms)]
+ [rngs-stx (f rngs)]
+ [n (car names)])
+ #'(->i ([n doms-stx]) (_ (n) rngs-stx))))
37
+ a))
38
(define (sc->constraints v f)
39
(simple-contract-restrict 'flat))])
40
0 commit comments