Skip to content

Automated Resyntax fixes - #830

Open
resyntax-ci[bot] wants to merge 7 commits into
masterfrom
autofix-166-1
Open

resyntax-ci[bot] wants to merge 7 commits into
masterfrom
autofix-166-1

Conversation

@resyntax-ci

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

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 2 files.

  • Fixed 7 occurrences of and-let-to-cond
  • Fixed 3 occurrences of list-element-definitions-to-match-define
  • Fixed 3 occurrences of nested-for-to-for*
  • Fixed 3 occurrences of let-to-define
  • Fixed 2 occurrences of when-expression-in-for-loop-to-when-keyword
  • Fixed 1 occurrence of map-to-for
  • Fixed 1 occurrence of if-else-false-to-and

resyntax-ci Bot added 7 commits October 4, 2026 01:00
These nested `for` loops can be replaced by a single `for*` loop.
These list element variable definitions can be expressed more succinctly with `match-define`. Note that the suggested replacement raises an error if the list contains more elements than expected.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
This `if` expression can be refactored to an equivalent expression using `and`.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
Using `cond` allows converting `let` to internal definitions, reducing nesting
This `map` operation can be replaced with a `for/list` loop.
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