Skip to content

Conversation

@resyntax-ci
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Dec 21, 2025

Resyntax fixed 20 issues in 7 files.

  • Fixed 5 occurrences of unless-expression-in-for-loop-to-unless-keyword
  • Fixed 4 occurrences of let-to-define
  • Fixed 3 occurrences of map-to-for
  • Fixed 3 occurrences of when-expression-in-for-loop-to-when-keyword
  • Fixed 1 occurrence of and-let-to-cond
  • Fixed 1 occurrence of named-let-loop-to-for-in-range
  • Fixed 1 occurrence of nested-when-to-compound-when
  • Fixed 1 occurrence of cond-let-to-cond-define
  • Fixed 1 occurrence of instantiate-to-new

Internal definitions are recommended instead of `let` expressions, to reduce nesting.
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.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
Nested `when` expressions can be merged into a single compound `when` expression.
The `instantiate` form is for mixing positional and by-name constructor arguments. When no positional arguments are needed, use `new` instead.
This named `let` expression is equivalent to a `for` loop that uses `in-range`.
Use the `#:unless` keyword instead of `unless` to reduce loop body indentation.
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