Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated Resyntax fixes #713

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Automated Resyntax fixes #713

wants to merge 6 commits into from

Conversation

resyntax-ci[bot]
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Jan 12, 2025

Resyntax fixed 20 issues in 3 files.

  • Fixed 14 occurrences of let-to-define
  • Fixed 2 occurrences of if-let-to-cond
  • Fixed 1 occurrence of read-line-any
  • Fixed 1 occurrence of hash-ref-with-constant-lambda-to-hash-ref-without-lambda
  • Fixed 1 occurrence of cond-else-cond-to-cond
  • Fixed 1 occurrence of quasiquote-to-list

resyntax-ci bot added 6 commits January 12, 2025 00:11
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.
This quasiquotation is equialent to a simple `list` call.
The `else` clause of this `cond` expression is another `cond` expression and can be flattened.
…t-lambda`

The lambda can be removed from the failure result in this `hash-ref` expression.
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