typed-racket
typed-racket copied to clipboard
Automated Resyntax fixes
This is an automated change generated by Resyntax.
Pass 1
Applied 3 fixes to typed-racket-lib/typed-racket/base-env/annotate-classes.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files. - Line 172,
if-else-false-to-and: Thisifexpression can be refactored to an equivalent expression usingand. - Line 331,
define-values-values-to-define: This use ofdefine-valuesis unnecessary.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/ann-inst.rkt
- Line 8,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-test/optimizer/reset-port.rkt
- Line 8,
read-line-any: Specify a line mode of'anywithread-lineto avoid differences between Windows and other platforms.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/base-env-indexing-abs.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 3 fixes to typed-racket-test/optimizer/transform.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files. - Line 24,
read-line-any: Specify a line mode of'anywithread-lineto avoid differences between Windows and other platforms. - Line 35,
if-begin-to-cond: Usingcondinstead ofifhere makesbeginunnecessary
Applied 1 fix to typed-racket-lib/typed-racket/base-env/prims-lambda.rkt
- Line 9,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/base-env-indexing.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/unit-prims.rkt
- Line 136,
map-to-for: Thismapoperation can be replaced with afor/listloop.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/base-structs.rkt
- Line 14,
provide-deduplication: Providing the same identifier multiple times is unnecessary.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/class-prims.rkt
- Line 5,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-test/optimizer/known-bugs.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 2 fixes to typed-racket-lib/typed-racket/base-env/base-contracted.rkt
- Line 6,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files. - Line 34,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/class-clauses.rkt
- Line 8,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/optimizer/sequence.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/extra-env-lang.rkt
- Line 9,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/for-clauses.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/base-special-env.rkt
- Line 5,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/env-lang.rkt
- Line 5,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 1 fix to typed-racket-lib/typed-racket/base-env/base-types-extra.rkt
- Line 3,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files.
Applied 2 fixes to typed-racket-test/optimizer/run.rkt
- Line 2,
tidy-require: Keep imports inrequiresorted and grouped by phase, with collections before files. - Line 14,
read-line-any: Specify a line mode of'anywithread-lineto avoid differences between Windows and other platforms.
Summary
Fixed 26 issues in 20 files.
- Fixed 18 occurrences of
tidy-require - Fixed 3 occurrences of
read-line-any - Fixed 1 occurrence of
if-begin-to-cond - Fixed 1 occurrence of
if-else-false-to-and - Fixed 1 occurrence of
define-values-values-to-define - Fixed 1 occurrence of
map-to-for - Fixed 1 occurrence of
provide-deduplication