Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Dec 29, 2024

Resyntax fixed 20 issues in 9 files.

  • Fixed 8 occurrences of tidy-require
  • Fixed 6 occurrences of let-to-define
  • Fixed 1 occurrence of read-line-any
  • Fixed 1 occurrence of define-lambda-to-define
  • Fixed 1 occurrence of zero-comparison-to-positive?
  • Fixed 1 occurrence of if-let-to-cond
  • Fixed 1 occurrence of cond-else-cond-to-cond
  • Fixed 1 occurrence of quasiquote-to-list

Keep imports in `require` sorted and grouped by phase, with collections before files.
The `define` form supports a shorthand for defining functions.
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.
This expression is equivalent to calling the `positive?` predicate.
@spdegabrielle
Copy link
Member

@jackfirth are these abandoned? I think there have been more recent ones that have been merged?

@rfindler
Copy link
Member

rfindler commented Jun 8, 2025

@spdegabrielle there have been more that have been merged. I'll clean up the current set.

@rfindler rfindler closed this Jun 8, 2025
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.

3 participants