Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Mar 23, 2025

Resyntax fixed 20 issues in 1 file.

  • Fixed 14 occurrences of let-to-define
  • Fixed 1 occurrence of send-chain-to-send+
  • Fixed 1 occurrence of instantiate-to-new
  • Fixed 1 occurrence of cond-let-to-cond-define
  • Fixed 1 occurrence of hash-ref-with-constant-lambda-to-hash-ref-without-lambda
  • Fixed 1 occurrence of zero-comparison-to-positive?
  • Fixed 1 occurrence of if-let-to-cond

resyntax-ci bot added 8 commits March 23, 2025 00:12
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
`cond` with internal definitions is preferred over `if` with `let`, to reduce nesting
…t-lambda`

The lambda can be removed from the failure result in this `hash-ref` expression.
This method chain made of nested `send` expressions can be written more clearly as a `send+` expression.
The `instantiate` form is for mixing positional and by-name constructor arguments. When no positional arguments are needed, use `new` instead.
This expression is equivalent to calling the `positive?` predicate.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
@rfindler rfindler merged commit 6ee8922 into master Mar 23, 2025
3 checks passed
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