Skip to content

Automated Resyntax fixes#773

Closed
resyntax-ci[bot] wants to merge 8 commits intomasterfrom
autofix-115-1
Closed

Automated Resyntax fixes#773
resyntax-ci[bot] wants to merge 8 commits intomasterfrom
autofix-115-1

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Oct 12, 2025

Resyntax fixed 20 issues in 2 files.

  • Fixed 9 occurrences of let-to-define
  • Fixed 3 occurrences of nested-for-to-for*
  • Fixed 2 occurrences of in-hash-to-in-hash-keys
  • Fixed 2 occurrences of in-hash-to-in-hash-values
  • Fixed 1 occurrence of hash-set!-ref-to-hash-update!
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of if-else-false-to-and
  • Fixed 1 occurrence of when-expression-in-for-loop-to-when-keyword

resyntax-ci bot added 8 commits October 12, 2025 00:13
This `in-hash` can be replaced with `in-hash-values` since the key is not used.
This expression can be replaced with a simpler, equivalent `hash-update!` expression.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
These nested `for` loops can be replaced by a single `for*` loop.
This `in-hash` can be replaced with `in-hash-keys` since the value is not used.
This `if` expression can be refactored to an equivalent expression using `and`.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
Using `cond` allows converting `let` to internal definitions, reducing nesting
@rfindler rfindler closed this Dec 14, 2025
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