Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

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

Resyntax fixed 20 issues in 8 files.

  • Fixed 6 occurrences of for-each-to-for
  • Fixed 4 occurrences of list-element-definitions-to-match-define
  • Fixed 2 occurrences of map-to-for
  • Fixed 2 occurrences of printf-to-display
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of let-to-define
  • Fixed 1 occurrence of unless-expression-in-for-loop-to-unless-keyword
  • Fixed 1 occurrence of delete-redundant-let
  • Fixed 1 occurrence of cond-void-to-when-or-unless
  • Fixed 1 occurrence of nested-for-to-for*

resyntax-ci bot added 10 commits November 16, 2025 00:47
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 `let` binding does nothing and can be removed.
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 `for-each` operation can be replaced with a `for` loop.
This use of `printf` has no arguments other than the template string.
This `map` operation can be replaced with a `for/list` loop.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Using `cond` allows converting `let` to internal definitions, reducing nesting
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