Skip to content

Automated Resyntax fixes#550

Open
resyntax-ci[bot] wants to merge 11 commits intomasterfrom
autofix-48-1
Open

Automated Resyntax fixes#550
resyntax-ci[bot] wants to merge 11 commits intomasterfrom
autofix-48-1

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Feb 8, 2026

Resyntax fixed 20 issues in 7 files.

  • Fixed 8 occurrences of let-to-define
  • Fixed 2 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 cond-let-to-cond-define
  • Fixed 1 occurrence of provide/contract-to-contract-out
  • Fixed 1 occurrence of for-set!-to-for/fold
  • Fixed 1 occurrence of if-begin-to-cond

resyntax-ci bot added 11 commits February 8, 2026 01:29
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
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
`for/fold` can be used instead of a mutating `for` loop
This `map` operation can be replaced with a `for/list` loop.
This `for-each` operation can be replaced with a `for` loop.
Use the `#:unless` keyword instead of `unless` to reduce loop body indentation.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
The `provide/contract` form is a legacy form made obsolete by `contract-out`.
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