Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Jun 22, 2025

Resyntax fixed 20 issues in 5 files.

  • Fixed 8 occurrences of let-to-define
  • Fixed 4 occurrences of hash-set!-ref-to-hash-update!
  • Fixed 3 occurrences of nested-for-to-for*
  • Fixed 1 occurrence of for-each-to-for
  • Fixed 1 occurrence of map-to-for
  • Fixed 1 occurrence of instantiate-to-new
  • Fixed 1 occurrence of cond-let-to-cond-define
  • Fixed 1 occurrence of if-else-false-to-and

resyntax-ci bot added 9 commits June 22, 2025 00:15
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This expression can be replaced with a simpler, equivalent `hash-update!` expression.
These nested `for` loops can be replaced by a single `for*` loop.
This `if` expression can be refactored to an equivalent expression using `and`.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This `for-each` operation can be replaced with a `for` loop.
This `map` operation can be replaced with a `for/list` loop.
This expression can be replaced with a simpler, equivalent `hash-update!` expression.
The `instantiate` form is for mixing positional and by-name constructor arguments. When no positional arguments are needed, use `new` instead.
@rfindler rfindler closed this Jul 6, 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.

2 participants