Skip to content

Automated Resyntax fixes#555

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

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

Conversation

@resyntax-ci
Copy link
Copy Markdown
Contributor

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

Resyntax fixed 20 issues in 9 files.

  • Fixed 6 occurrences of let-to-define
  • Fixed 4 occurrences of arrow-contract-with-rest-to-arrow-contract-with-ellipses
  • Fixed 2 occurrences of and-let-to-cond
  • 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 cond-let-to-cond-define
  • Fixed 1 occurrence of if-let-to-cond
  • 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 April 8, 2026 01:37
Using `cond` allows converting `let` to internal definitions, reducing nesting
This `map` operation can be replaced with a `for/list` 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
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.
…-ellipses`

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