Skip to content

Automated Resyntax fixes - #833

Open
resyntax-ci[bot] wants to merge 11 commits into
masterfrom
autofix-169-1
Open

resyntax-ci[bot] wants to merge 11 commits into
masterfrom
autofix-169-1

Conversation

@resyntax-ci

@resyntax-ci resyntax-ci Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 6 files.

  • Fixed 6 occurrences of let-to-define
  • Fixed 2 occurrences of cond-else-cond-to-cond
  • Fixed 2 occurrences of if-else-false-to-and
  • Fixed 2 occurrences of nested-for-to-for*
  • Fixed 2 occurrences of cond-let-to-cond-define
  • Fixed 1 occurrence of hash-set!-ref-to-hash-update!
  • Fixed 1 occurrence of explicit-cond-else-void
  • Fixed 1 occurrence of nested-and-to-flat-and
  • Fixed 1 occurrence of when-expression-in-for-loop-to-when-keyword
  • Fixed 1 occurrence of define-lambda-to-define
  • Fixed 1 occurrence of printf-to-display

resyntax-ci Bot added 11 commits October 25, 2026 00:24
These nested `for` loops can be replaced by a single `for*` loop.
This expression can be replaced with a simpler, equivalent `hash-update!` expression.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
The `define` form supports a shorthand for defining functions.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
The `else` clause of this `cond` expression is another `cond` expression and can be flattened.
This `if` expression can be refactored to an equivalent expression using `and`.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
This use of `printf` has no arguments other than the template string.
Add an explicit `[else (void)]` clause to make the default behavior clear.
Nested `and` expressions can be flattened into a single, equivalent `and` expression.
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