Skip to content

Automated Resyntax fixes - #570

Open
resyntax-ci[bot] wants to merge 11 commits into
masterfrom
autofix-54-1
Open

Automated Resyntax fixes#570
resyntax-ci[bot] wants to merge 11 commits into
masterfrom
autofix-54-1

Conversation

@resyntax-ci

@resyntax-ci resyntax-ci Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 7 files.

  • Fixed 7 occurrences of arrow-contract-with-rest-to-arrow-contract-with-ellipses
  • Fixed 4 occurrences of map-to-for
  • Fixed 1 occurrence of string-append-and-string-join-to-string-join
  • Fixed 1 occurrence of quasiquote-to-list
  • Fixed 1 occurrence of predicate/c-migration
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of if-let-to-cond
  • Fixed 1 occurrence of throw-unless-truthy-to-or
  • Fixed 1 occurrence of nested-if-to-cond
  • Fixed 1 occurrence of define-let-to-multi-define
  • Fixed 1 occurrence of always-throwing-if-to-when

resyntax-ci Bot added 11 commits August 8, 2026 00:39
…-ellipses`

This `->*` contract can be rewritten using `->` with ellipses.
This `map` operation can be replaced with a `for/list` loop.
Using `when` and `unless` is simpler than a conditional with an always-throwing branch.
The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
This quasiquotation is equivalent to a simple `list` call.
This `if`-`else` chain can be converted to a `cond` expression.
`cond` with internal definitions is preferred over `if` with `let`, to reduce nesting
Instead of using `unless` to throw an exception if a truthy value is false, consider using `or`.
Using `cond` allows converting `let` to internal definitions, reducing nesting
This use of `string-append` can be removed by using `string-join`'s keyword arguments.
This `let` expression can be pulled up into multiple `define` expressions.
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.

0 participants