Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Nov 30, 2025

Resyntax fixed 20 issues in 8 files.

  • Fixed 6 occurrences of provide/contract-to-contract-out
  • Fixed 3 occurrences of map-to-for
  • Fixed 2 occurrences of printf-to-display
  • Fixed 1 occurrence of list-element-definitions-to-match-define
  • Fixed 1 occurrence of if-let-to-cond
  • Fixed 1 occurrence of quasiquote-to-list
  • Fixed 1 occurrence of named-let-loop-to-for-in-range
  • Fixed 1 occurrence of unless-expression-in-for-loop-to-unless-keyword
  • Fixed 1 occurrence of when-expression-in-for-loop-to-when-keyword
  • Fixed 1 occurrence of let-to-define
  • Fixed 1 occurrence of cond-void-to-when-or-unless
  • Fixed 1 occurrence of nested-for-to-for*

resyntax-ci bot added 12 commits November 30, 2025 00:43
This `map` operation can be replaced with a `for/list` loop.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
These list element variable definitions can be expressed more succinctly with `match-define`. Note that the suggested replacement raises an error if the list contains more elements than expected.
This conditional expression can be replaced with a simpler, equivalent expression.
Use the `#:unless` keyword instead of `unless` to reduce loop body indentation.
These nested `for` loops can be replaced by a single `for*` loop.
This quasiquotation is equialent to a simple `list` call.
This use of `printf` has no arguments other than the template string.
The `provide/contract` form is a legacy form made obsolete by `contract-out`.
`cond` with internal definitions is preferred over `if` with `let`, to reduce nesting
This named `let` expression is equivalent to a `for` loop that uses `in-range`.
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.

1 participant