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 #586

Closed
wants to merge 1 commit into from
Closed

Automated Resyntax fixes #586

wants to merge 1 commit into from

Conversation

resyntax-ci[bot]
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Oct 10, 2024

This is an automated change generated by Resyntax.

Pass 1

Applied 3 fixes to collection/association-list.rkt

  • Line 8, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 25, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 26, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.

Applied 2 fixes to type/record/private/definition-macro.rkt

  • Line 42, define-simple-macro-to-define-syntax-parse-rule: The define-simple-macro form has been renamed to define-syntax-parse-rule.
  • Line 151, define-simple-macro-to-define-syntax-parse-rule: The define-simple-macro form has been renamed to define-syntax-parse-rule.

Applied 2 fixes to collection/record.rkt

  • Line 10, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 21, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.

Applied 1 fix to collection/multiset.rkt

  • Line 34, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 3 fixes to collection/set.rkt

  • Line 8, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 9, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 10, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.

Applied 4 fixes to collection/entry.rkt

  • Line 20, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 21, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 90, single-clause-match-to-match-define: This match expression can be simplified using match-define.
  • Line 94, single-clause-match-to-match-define: This match expression can be simplified using match-define.

Applied 2 fixes to collection/range-set.rkt

  • Line 49, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.
  • Line 50, predicate/c-migration: The predicate/c contract is less clear than a -> contract and no longer improves performance.

Applied 1 fix to type/record/private/provide-transformer.rkt

  • Line 3, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.

Applied 2 fixes to collection/table.rkt

  • Line 21, tidy-require: Keep imports in require sorted and grouped by phase, with collections before files.
  • Line 91, define-simple-macro-to-define-syntax-parse-rule: The define-simple-macro form has been renamed to define-syntax-parse-rule.

Summary

Fixed 20 issues in 9 files.

  • Fixed 12 occurrences of predicate/c-migration
  • Fixed 3 occurrences of define-simple-macro-to-define-syntax-parse-rule
  • Fixed 3 occurrences of tidy-require
  • Fixed 2 occurrences of single-clause-match-to-match-define

This is an automated change generated by Resyntax.

#### Pass 1

Applied 3 fixes to [`collection/association-list.rkt`](../blob/HEAD/collection/association-list.rkt)

  * Line 8, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 25, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 26, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.

Applied 2 fixes to [`type/record/private/definition-macro.rkt`](../blob/HEAD/type/record/private/definition-macro.rkt)

  * Line 42, `define-simple-macro-to-define-syntax-parse-rule`: The `define-simple-macro` form has been renamed to `define-syntax-parse-rule`.
  * Line 151, `define-simple-macro-to-define-syntax-parse-rule`: The `define-simple-macro` form has been renamed to `define-syntax-parse-rule`.

Applied 2 fixes to [`collection/record.rkt`](../blob/HEAD/collection/record.rkt)

  * Line 10, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 21, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.

Applied 1 fix to [`collection/multiset.rkt`](../blob/HEAD/collection/multiset.rkt)

  * Line 34, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 3 fixes to [`collection/set.rkt`](../blob/HEAD/collection/set.rkt)

  * Line 8, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 9, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 10, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.

Applied 4 fixes to [`collection/entry.rkt`](../blob/HEAD/collection/entry.rkt)

  * Line 20, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 21, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 90, `single-clause-match-to-match-define`: This `match` expression can be simplified using `match-define`.
  * Line 94, `single-clause-match-to-match-define`: This `match` expression can be simplified using `match-define`.

Applied 2 fixes to [`collection/range-set.rkt`](../blob/HEAD/collection/range-set.rkt)

  * Line 49, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.
  * Line 50, `predicate/c-migration`: The `predicate/c` contract is less clear than a `->` contract and no longer improves performance.

Applied 1 fix to [`type/record/private/provide-transformer.rkt`](../blob/HEAD/type/record/private/provide-transformer.rkt)

  * Line 3, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.

Applied 2 fixes to [`collection/table.rkt`](../blob/HEAD/collection/table.rkt)

  * Line 21, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files.
  * Line 91, `define-simple-macro-to-define-syntax-parse-rule`: The `define-simple-macro` form has been renamed to `define-syntax-parse-rule`.

## Summary

Fixed 20 issues in 9 files.

  * Fixed 12 occurrences of `predicate/c-migration`
  * Fixed 3 occurrences of `define-simple-macro-to-define-syntax-parse-rule`
  * Fixed 3 occurrences of `tidy-require`
  * Fixed 2 occurrences of `single-clause-match-to-match-define`
@jackfirth jackfirth closed this Oct 10, 2024
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