-
-
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-41-1
- 14 commits
- 20 files changed
- 1 contributor
Commits on Jun 13, 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 5bd5459 - Browse repository at this point
Copy the full SHA 5bd5459View 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 35ff533 - Browse repository at this point
Copy the full SHA 35ff533View commit details -
Fix 5 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 53693cf - Browse repository at this point
Copy the full SHA 53693cfView commit details -
Fix 1 occurrence of
format-identity
This use of `format` does nothing.
Configuration menu - View commit details
-
Copy full SHA for 613e005 - Browse repository at this point
Copy the full SHA 613e005View commit details -
Fix 3 occurrences of
if-begin-to-cond
Using `cond` instead of `if` here makes `begin` unnecessary
Configuration menu - View commit details
-
Copy full SHA for b9246f6 - Browse repository at this point
Copy the full SHA b9246f6View commit details -
Fix 1 occurrence of
define-values-values-to-define
This use of `define-values` is unnecessary.
Configuration menu - View commit details
-
Copy full SHA for 2703980 - Browse repository at this point
Copy the full SHA 2703980View commit details -
Fix 2 occurrences of
if-else-false-to-and
This `if` expression can be refactored to an equivalent expression using `and`.
Configuration menu - View commit details
-
Copy full SHA for 6f502ba - Browse repository at this point
Copy the full SHA 6f502baView 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 0c41843 - Browse repository at this point
Copy the full SHA 0c41843View 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 8fe9fda - Browse repository at this point
Copy the full SHA 8fe9fdaView commit details -
Fix 1 occurrence 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 39c99f6 - Browse repository at this point
Copy the full SHA 39c99f6View 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 fb1a9b3 - Browse repository at this point
Copy the full SHA fb1a9b3View 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 54fb730 - Browse repository at this point
Copy the full SHA 54fb730View 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 04b4d5f - Browse repository at this point
Copy the full SHA 04b4d5fView commit details -
Fix 1 occurrence 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 c05abfc - Browse repository at this point
Copy the full SHA c05abfcView 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-41-1