Skip to content

Automated Resyntax fixes#817

Open
resyntax-ci[bot] wants to merge 6 commits into
masterfrom
autofix-156-1
Open

Automated Resyntax fixes#817
resyntax-ci[bot] wants to merge 6 commits into
masterfrom
autofix-156-1

Conversation

@resyntax-ci

@resyntax-ci resyntax-ci Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 3 files.

  • Fixed 10 occurrences of let-to-define
  • Fixed 4 occurrences of nested-for-to-for*
  • Fixed 3 occurrences of list-element-definitions-to-match-define
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of if-else-false-to-and
  • Fixed 1 occurrence of when-expression-in-for-loop-to-when-keyword

resyntax-ci Bot added 6 commits July 26, 2026 00:33
These nested `for` loops can be replaced by a single `for*` loop.
These list element variable definitions can be expressed more succinctly with `match-define`. Note that the suggested replacement raises an error if the list contains more elements than expected.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This `if` expression can be refactored to an equivalent expression using `and`.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
Using `cond` allows converting `let` to internal definitions, reducing nesting
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