Skip to content

Automated Resyntax fixes#559

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

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

Conversation

@resyntax-ci
Copy link
Copy Markdown
Contributor

@resyntax-ci resyntax-ci Bot commented May 8, 2026

Resyntax fixed 20 issues in 7 files.

  • Fixed 7 occurrences of let-to-define
  • Fixed 4 occurrences of arrow-contract-with-rest-to-arrow-contract-with-ellipses
  • Fixed 1 occurrence of if-void-to-when-or-unless
  • Fixed 1 occurrence of map-to-for
  • Fixed 1 occurrence of or-hash-ref-set!-to-hash-ref!
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of if-let-to-cond
  • Fixed 1 occurrence of provide/contract-to-contract-out
  • Fixed 1 occurrence of for-each-to-for
  • Fixed 1 occurrence of for-set!-to-for/fold
  • Fixed 1 occurrence of if-begin-to-cond

resyntax-ci Bot added 11 commits May 8, 2026 01:30
Using `cond` allows converting `let` to internal definitions, reducing nesting
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.
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
The `provide/contract` form is a legacy form made obsolete by `contract-out`.
This expression can be replaced with a simpler, equivalent `hash-ref!` expression.
This conditional expression can be replaced with a simpler, equivalent expression.
…-ellipses`

This `->*` contract can be rewritten using `->` with ellipses.
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