Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

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

Resyntax fixed 20 issues in 4 files.

  • Fixed 9 occurrences of let-to-define
  • Fixed 4 occurrences of map-to-for
  • Fixed 2 occurrences of if-let-to-cond
  • Fixed 1 occurrence of quasiquote-to-list
  • Fixed 1 occurrence of list->vector-to-for/vector
  • Fixed 1 occurrence of inline-unnecessary-define
  • Fixed 1 occurrence of when-expression-in-for-loop-to-when-keyword
  • Fixed 1 occurrence of always-throwing-if-to-when

resyntax-ci bot added 8 commits June 8, 2025 00:13
This `map` operation can be replaced with a `for/list` loop.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This variable is returned immediately and can be inlined.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
`cond` with internal definitions is preferred over `if` with `let`, to reduce nesting
Using `when` and `unless` is simpler than a conditional with an always-throwing branch.
`for` loops can build vectors directly.
This quasiquotation is equialent to a simple `list` call.
@rfindler
Copy link
Member

rfindler commented Jun 8, 2025

I hadn't merged the previous one when this ran, so I'll just close this one.

@rfindler rfindler closed this Jun 8, 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