-
-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated Resyntax fixes #700
base: master
Are you sure you want to change the base?
Conversation
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Keep imports in `require` sorted and grouped by phase, with collections before files.
The `define` form supports a shorthand for defining functions.
Use `make-temporary-directory` to make directories instead of `make-temporary-file`.
expression | ||
text))] | ||
[text | ||
(let-values ([(test-count test-passed-count |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This formats poorly :(
I'm surprised it's not converted to define-values
though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's 20 fixes in this pull request already, so it won't add more.
check-failures | ||
signature-violations) | ||
(parse-test-failures text)]) | ||
(when (not (equal? check-failures check-failures-expected)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be unless
? Ditto for below when
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment as above about the fix limit.
Resyntax fixed 20 issues in 8 files.
let-to-define
tidy-require
make-temporary-directory-migration
define-lambda-to-define