drracket
drracket copied to clipboard
Automated Resyntax fixes
This is an automated change generated by Resyntax.
Pass 1
Applied 17 fixes to drracket-tool-text-lib/drracket/private/syncheck/traversals.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files. - Line 51,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 684,
hash-set!-ref-to-hash-update!: This expression can be replaced with a simpler, equivalenthash-update!expression. - Line 713,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 728,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 771,
nested-for-to-for*: These nestedforloops can be replaced by a singlefor*loop. - Line 785,
nested-for-to-for*: These nestedforloops can be replaced by a singlefor*loop. - Line 835,
nested-for-to-for*: These nestedforloops can be replaced by a singlefor*loop. - Line 906,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 972,
if-else-false-to-and: Thisifexpression can be refactored to an equivalent expression usingand. - Line 1074,
if-else-false-to-and: Thisifexpression can be refactored to an equivalent expression usingand. - Line 1098,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 1129,
when-expression-in-for-loop-to-when-keyword: Use the#:whenkeyword instead ofwhento reduce loop body indentation. - Line 1275,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 1366,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 1424,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting. - Line 1451,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting.
Applied 2 fixes to drracket/setup/plt-installer-unit.rkt
- Line 2,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files. - Line 44,
let-to-define: Internal definitions are recommended instead ofletexpressions, to reduce nesting.
Applied 1 fix to drracket/repo-time-stamp/time-stamp.rkt
- Line 2,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Summary
Fixed 20 issues in 3 files.
- Fixed 10 occurrences of
let-to-define - Fixed 3 occurrences of
tidy-require - Fixed 3 occurrences of
nested-for-to-for* - Fixed 2 occurrences of
if-else-false-to-and - Fixed 1 occurrence of
hash-set!-ref-to-hash-update! - Fixed 1 occurrence of
when-expression-in-for-loop-to-when-keyword