Skip to content

Automated Resyntax fixes#532

Open
resyntax-ci[bot] wants to merge 8 commits intomasterfrom
autofix-44-1
Open

Automated Resyntax fixes#532
resyntax-ci[bot] wants to merge 8 commits intomasterfrom
autofix-44-1

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Oct 8, 2025

Resyntax fixed 20 issues in 6 files.

  • Fixed 8 occurrences of let-to-define
  • Fixed 5 occurrences of map-to-for
  • Fixed 2 occurrences of for-each-to-for
  • Fixed 1 occurrence of if-void-to-when-or-unless
  • Fixed 1 occurrence of if-let-to-cond
  • Fixed 1 occurrence of unless-expression-in-for-loop-to-unless-keyword
  • Fixed 1 occurrence of or-hash-ref-set!-to-hash-ref!
  • Fixed 1 occurrence of if-begin-to-cond

resyntax-ci bot added 8 commits October 8, 2025 00:55
This `map` operation can be replaced with a `for/list` loop.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This `for-each` operation can be replaced with a `for` loop.
Use the `#:unless` keyword instead of `unless` to reduce loop body indentation.
This expression can be replaced with a simpler, equivalent `hash-ref!` expression.
This conditional expression can be replaced with a simpler, equivalent expression.
Using `cond` instead of `if` here makes `begin` unnecessary
`cond` with internal definitions is preferred over `if` with `let`, to reduce 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