Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Resyntax fixes #1151

Closed
wants to merge 5 commits into from
Closed

Automated Resyntax fixes #1151

wants to merge 5 commits into from

Conversation

resyntax-ci[bot]
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Feb 16, 2025

Resyntax fixed 10 issues in 3 files.

  • Fixed 5 occurrences of zero-comparison-to-positive?
  • Fixed 2 occurrences of let-to-define
  • Fixed 1 occurrence of apply-append-for-loop-to-for-loop
  • Fixed 1 occurrence of inverted-when
  • Fixed 1 occurrence of if-else-false-to-and

This expression is equivalent to calling the `positive?` predicate.
Instead of using `(apply append ...)` to flatten a list of lists, consider using `for*/list` to flatten the list.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This `if` expression can be refactored to an equivalent expression using `and`.
This negated `when` expression can be replaced by an `unless` expression.
@pavpanchekha pavpanchekha deleted the autofix-16-1 branch February 25, 2025 00:04
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