Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented May 14, 2025

Resyntax fixed 20 issues in 6 files.

  • Fixed 6 occurrences of let-to-define
  • Fixed 4 occurrences of map-to-for
  • Fixed 3 occurrences of cond-let-to-cond-define
  • Fixed 2 occurrences of define-syntax-syntax-rules-to-define-syntax-rule
  • Fixed 1 occurrence of zero-comparison-to-positive?
  • Fixed 1 occurrence of quasiquote-to-append
  • Fixed 1 occurrence of provide/contract-to-contract-out
  • Fixed 1 occurrence of always-throwing-if-to-when
  • Fixed 1 occurrence of inverted-when

resyntax-ci bot added 9 commits May 14, 2025 00:17
This `map` operation can be replaced with a `for/list` loop.
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 `define-syntax` macro can be replaced with a simpler, equivalent `define-syntax-rule` macro.
This quasiquotation is equialent to calling `append`.
Using `when` and `unless` is simpler than a conditional with an always-throwing branch.
The `provide/contract` form is a legacy form made obsolete by `contract-out`.
This expression is equivalent to calling the `positive?` predicate.
@mflatt mflatt merged commit fd7fb64 into master Jun 26, 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