Skip to content

Automated Resyntax fixes#561

Open
resyntax-ci[bot] wants to merge 10 commits into
masterfrom
autofix-52-1
Open

Automated Resyntax fixes#561
resyntax-ci[bot] wants to merge 10 commits into
masterfrom
autofix-52-1

Conversation

@resyntax-ci

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

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 6 files.

  • Fixed 7 occurrences of let-to-define
  • Fixed 4 occurrences of arrow-contract-with-rest-to-arrow-contract-with-ellipses
  • Fixed 2 occurrences of for-each-to-for
  • Fixed 1 occurrence of if-void-to-when-or-unless
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of map-to-for
  • 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 provide/contract-to-contract-out
  • Fixed 1 occurrence of for-set!-to-for/fold

resyntax-ci Bot added 10 commits June 8, 2026 01:53
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.
`for/fold` can be used instead of a mutating `for` loop
The `provide/contract` form is a legacy form made obsolete by `contract-out`.
Using `cond` allows converting `let` to internal definitions, reducing 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.
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