Skip to content

Automated Resyntax fixes#564

Open
resyntax-ci[bot] wants to merge 9 commits into
masterfrom
autofix-53-1
Open

Automated Resyntax fixes#564
resyntax-ci[bot] wants to merge 9 commits into
masterfrom
autofix-53-1

Conversation

@resyntax-ci

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

Copy link
Copy Markdown
Contributor

Resyntax fixed 20 issues in 9 files.

  • Fixed 9 occurrences of let-to-define
  • Fixed 2 occurrences of single-clause-match-to-match-define
  • Fixed 2 occurrences of read-line-any
  • Fixed 2 occurrences of and-let-to-cond
  • Fixed 1 occurrence of for-set!-to-for/fold
  • Fixed 1 occurrence of map-to-for
  • Fixed 1 occurrence of cond-let-to-cond-define
  • Fixed 1 occurrence of hash-ref-with-constant-lambda-to-hash-ref-without-lambda
  • Fixed 1 occurrence of if-let-to-cond

resyntax-ci Bot added 9 commits July 8, 2026 01:06
Using `cond` allows converting `let` to internal definitions, reducing nesting
This `map` operation can be replaced with a `for/list` loop.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
`cond` with internal definitions is preferred over `if` with `let`, to reduce nesting
Specify a line mode of `'any` with `read-line` to avoid differences between Windows and other platforms.
…t-lambda`

The lambda can be removed from the failure result in this `hash-ref` expression.
This `match` expression can be simplified using `match-define`.
`for/fold` can be used instead of a mutating `for` loop
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
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