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.
unless-expression-in-for-loop-to-unless-keyword
1 parent 9e900a7 commit 016a6cdCopy full SHA for 016a6cd
typed-racket-lib/typed-racket/static-contracts/optimize.rkt
@@ -342,10 +342,10 @@
342
(unless (zero? (free-id-table-count to-look-at))
343
(define new-table (make-free-id-table))
344
(for* ([(id _) (in-free-id-table to-look-at)]
345
- [(id _) (in-free-id-table (free-id-table-ref main-table id))])
346
- (unless (free-id-table-ref seen id #f)
347
- (free-id-table-set! seen id #t)
348
- (free-id-table-set! new-table id #t)))
+ [(id _) (in-free-id-table (free-id-table-ref main-table id))]
+ #:unless (free-id-table-ref seen id #f))
+ (free-id-table-set! seen id #t)
+ (free-id-table-set! new-table id #t))
349
(loop new-table)))
350
351
;; Determine if the recursive name is referenced in the static contract
0 commit comments