Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Jan 5, 2025

Resyntax fixed 20 issues in 2 files.

  • Fixed 9 occurrences of let-to-define
  • Fixed 3 occurrences of define-lambda-to-define
  • Fixed 2 occurrences of inverted-when
  • Fixed 2 occurrences of cond-let-to-cond-define
  • Fixed 2 occurrences of hash-ref-with-constant-lambda-to-hash-ref-without-lambda
  • Fixed 2 occurrences of if-else-false-to-and

resyntax-ci bot added 9 commits January 5, 2025 00:12
The `define` form supports a shorthand for defining functions.
This `if` expression can be refactored to an equivalent expression using `and`.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
…ut-lambda`

The lambda can be removed from the failure result in this `hash-ref` expression.
This negated `when` expression can be replaced by an `unless` expression.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This negated `when` expression can be replaced by an `unless` expression.
@rfindler
Copy link
Member

rfindler commented Jan 5, 2025

I looked through the commits and they look good to me.

@jackfirth jackfirth merged commit eba9214 into master Jan 5, 2025
3 checks passed
@sorawee sorawee deleted the autofix-75-1 branch January 5, 2025 20:49
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.

3 participants