Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Dec 8, 2024

Resyntax fixed 20 issues in 8 files.

  • Fixed 11 occurrences of let-to-define
  • Fixed 7 occurrences of tidy-require
  • Fixed 1 occurrence of make-temporary-directory-migration
  • Fixed 1 occurrence of define-lambda-to-define

resyntax-ci bot added 4 commits December 8, 2024 00:10
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
Copy link
Contributor

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.

Copy link
Collaborator

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))
Copy link
Contributor

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

Copy link
Collaborator

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.

@rfindler rfindler closed this Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants