Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Nov 8, 2025

Resyntax fixed 20 issues in 7 files.

  • Fixed 6 occurrences of map-to-for
  • Fixed 2 occurrences of printf-to-display
  • Fixed 2 occurrences of if-else-false-to-and
  • Fixed 2 occurrences of read-line-any
  • Fixed 1 occurrence of provide-deduplication
  • Fixed 1 occurrence of unless-expression-in-for-loop-to-unless-keyword
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of if-let-to-cond
  • Fixed 1 occurrence of in-hash-to-in-hash-keys
  • Fixed 1 occurrence of provide/contract-to-contract-out
  • Fixed 1 occurrence of if-begin-to-cond
  • Fixed 1 occurrence of define-let-to-multi-define

resyntax-ci bot added 12 commits November 8, 2025 00:47
Providing the same identifier multiple times is unnecessary.
The `provide/contract` form is a legacy form made obsolete by `contract-out`.
This `map` operation can be replaced with a `for/list` loop.
This `if` expression can be refactored to an equivalent expression using `and`.
Using `cond` allows converting `let` to internal definitions, reducing nesting
This `let` expression can be pulled up into multiple `define` expressions.
Specify a line mode of `'any` with `read-line` to avoid differences between Windows and other platforms.
This `in-hash` can be replaced with `in-hash-keys` since the value is not used.
Use the `#:unless` keyword instead of `unless` to reduce loop body indentation.
This use of `printf` has no arguments other than the template string.
Using `cond` instead of `if` here makes `begin` unnecessary
`cond` with internal definitions is preferred over `if` with `let`, 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.

1 participant