-
-
Notifications
You must be signed in to change notification settings - Fork 103
Comparing changes
Open a pull request
base repository: racket/typed-racket
base: master
head repository: racket/typed-racket
compare: autofix-40-1
- 16 commits
- 20 files changed
- 1 contributor
Commits on Jun 6, 2025
-
Fix 3 occurrences of
read-line-any
Specify a line mode of `'any` with `read-line` to avoid differences between Windows and other platforms.
Configuration menu - View commit details
-
Copy full SHA for 0981733 - Browse repository at this point
Copy the full SHA 0981733View commit details -
Fix 6 occurrences of
let-to-define
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Configuration menu - View commit details
-
Copy full SHA for e0e55f6 - Browse repository at this point
Copy the full SHA e0e55f6View commit details -
Fix 2 occurrences of
if-let-to-cond
`cond` with internal definitions is preferred over `if` with `let`, to reduce nesting
Configuration menu - View commit details
-
Copy full SHA for 9e157eb - Browse repository at this point
Copy the full SHA 9e157ebView commit details -
Fix 1 occurrence of
inverted-when
This negated `when` expression can be replaced by an `unless` expression.
Configuration menu - View commit details
-
Copy full SHA for f5dc621 - Browse repository at this point
Copy the full SHA f5dc621View commit details -
Fix 1 occurrence of
define-syntax-syntax-rules-to-define-syntax-rule
This `define-syntax` macro can be replaced with a simpler, equivalent `define-syntax-rule` macro.
Configuration menu - View commit details
-
Copy full SHA for 69354e4 - Browse repository at this point
Copy the full SHA 69354e4View commit details -
Fix 1 occurrence of
single-clause-match-to-match-define
This `match` expression can be simplified using `match-define`.
Configuration menu - View commit details
-
Copy full SHA for d72c65d - Browse repository at this point
Copy the full SHA d72c65dView commit details -
Fix 2 occurrences of
always-throwing-if-to-when
Using `when` and `unless` is simpler than a conditional with an always-throwing branch.
Configuration menu - View commit details
-
Copy full SHA for 8287049 - Browse repository at this point
Copy the full SHA 8287049View commit details -
Fix 1 occurrence of
predicate/c-migration
The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
Configuration menu - View commit details
-
Copy full SHA for fad04c8 - Browse repository at this point
Copy the full SHA fad04c8View commit details -
Fix 2 occurrences of
define-let-to-double-define
This `let` expression can be pulled up into a `define` expression.
Configuration menu - View commit details
-
Copy full SHA for 4de869f - Browse repository at this point
Copy the full SHA 4de869fView commit details -
Fix 2 occurrences of
if-begin-to-cond
Using `cond` instead of `if` here makes `begin` unnecessary
Configuration menu - View commit details
-
Copy full SHA for 0ec9bf2 - Browse repository at this point
Copy the full SHA 0ec9bf2View commit details -
Fix 1 occurrence of
cond-let-to-cond-define
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Configuration menu - View commit details
-
Copy full SHA for e734dd3 - Browse repository at this point
Copy the full SHA e734dd3View commit details -
Fix 9 occurrences of
define-lambda-to-define
The `define` form supports a shorthand for defining functions.
Configuration menu - View commit details
-
Copy full SHA for 574e863 - Browse repository at this point
Copy the full SHA 574e863View commit details -
Fix 2 occurrences of
nested-if-to-cond
This `if`-`else` chain can be converted to a `cond` expression.
Configuration menu - View commit details
-
Copy full SHA for e878d06 - Browse repository at this point
Copy the full SHA e878d06View commit details -
Fix 1 occurrence of
case-lambda-with-single-case-to-lambda
This `case-lambda` form only has one case. Use a regular lambda instead.
Configuration menu - View commit details
-
Copy full SHA for fe82ed1 - Browse repository at this point
Copy the full SHA fe82ed1View commit details -
Fix 1 occurrence of
let-to-define
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Configuration menu - View commit details
-
Copy full SHA for 37ec981 - Browse repository at this point
Copy the full SHA 37ec981View commit details -
Fix 1 occurrence of
cond-let-to-cond-define
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Configuration menu - View commit details
-
Copy full SHA for 480c31d - Browse repository at this point
Copy the full SHA 480c31dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...autofix-40-1