Skip to content
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 #1424

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Automated Resyntax fixes #1424

wants to merge 6 commits into from

Conversation

resyntax-ci[bot]
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Jan 3, 2025

Resyntax fixed 50 issues in 12 files.

  • Fixed 45 occurrences of single-clause-match-to-match-define
  • Fixed 1 occurrence of let-to-define
  • Fixed 1 occurrence of inline-unnecessary-define
  • Fixed 1 occurrence of tidy-require
  • Fixed 1 occurrence of cond-else-if-to-cond
  • Fixed 1 occurrence of if-else-false-to-and

resyntax-ci bot added 6 commits January 3, 2025 00:23
This `match` expression can be simplified using `match-define`.
This `if` expression can be refactored to an equivalent expression using `and`.
Keep imports in `require` sorted and grouped by phase, with collections before files.
The `else`-`if` branch of this `cond` expression can be collapsed into the `cond` expression.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This variable is returned immediately and can be inlined.
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.

0 participants