Skip to content

Automated Resyntax fixes - #1520

Open
resyntax-ci[bot] wants to merge 6 commits into
masterfrom
autofix-105-1
Open

Automated Resyntax fixes#1520
resyntax-ci[bot] wants to merge 6 commits into
masterfrom
autofix-105-1

Conversation

@resyntax-ci

@resyntax-ci resyntax-ci Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 5 files.

  • Fixed 15 occurrences of consing-onto-static-list
  • Fixed 1 occurrence of if-let-to-cond
  • Fixed 1 occurrence of let-to-define
  • Fixed 1 occurrence of define-syntax-syntax-rules-to-define-syntax-rule
  • Fixed 1 occurrence of define-let-to-multi-define
  • Fixed 1 occurrence of predicate/c-migration

The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
This `let` expression can be pulled up into multiple `define` expressions.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
`cond` with internal definitions is preferred over `if` with `let`, to reduce nesting
This list-constructing expression can be simplified
This `define-syntax` macro can be replaced with a simpler, equivalent `define-syntax-rule` macro.
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