Skip to content

Commit 016a6cd

Browse files
resyntax-ci[bot]samth
authored andcommitted
Fix 1 occurrence of unless-expression-in-for-loop-to-unless-keyword
Use the `#:unless` keyword instead of `unless` to reduce loop body indentation.
1 parent 9e900a7 commit 016a6cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

typed-racket-lib/typed-racket/static-contracts/optimize.rkt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,10 @@
342342
(unless (zero? (free-id-table-count to-look-at))
343343
(define new-table (make-free-id-table))
344344
(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)))
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))
349349
(loop new-table)))
350350

351351
;; Determine if the recursive name is referenced in the static contract

0 commit comments

Comments
 (0)