Skip to content

Automated Resyntax fixes - #576

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

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

Conversation

@resyntax-ci

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

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 4 files.

  • Fixed 5 occurrences of let-to-define
  • Fixed 5 occurrences of map-to-for
  • Fixed 2 occurrences of if-else-false-to-and
  • Fixed 1 occurrence of if-void-to-when-or-unless
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of always-throwing-cond-to-when
  • Fixed 1 occurrence of or-hash-ref-set!-to-hash-ref!
  • Fixed 1 occurrence of cond-let-to-cond-define
  • Fixed 1 occurrence of define-let-to-multi-define
  • Fixed 1 occurrence of cond-void-to-when-or-unless
  • Fixed 1 occurrence of define-lambda-to-define

resyntax-ci Bot added 11 commits October 8, 2026 01:07
This `if` expression can be refactored to an equivalent expression using `and`.
This `map` operation can be replaced with a `for/list` loop.
Using `cond` allows converting `let` to internal definitions, reducing nesting
This `let` expression can be pulled up into multiple `define` expressions.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This expression can be replaced with a simpler, equivalent `hash-ref!` expression.
This conditional expression can be replaced with a simpler, equivalent expression.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This conditional expression can be replaced with a simpler, equivalent expression.
Using `when` and `unless` is simpler than a conditional with an always-throwing branch.
The `define` form supports a shorthand for defining functions.
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