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

Closed
wants to merge 1 commit into from
Closed

Automated Resyntax fixes #585

wants to merge 1 commit into from

Conversation

resyntax-ci[bot]
Copy link
Contributor

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

This is an automated change generated by Resyntax.

Pass 1

Applied 1 fix to collection/private/testing/literal-mutable-red-black-tree.rkt

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

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 1 fix 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.

Applied 1 fix to collection/private/testing/mutable-red-black-tree-invariants.rkt

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

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/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.

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.

Summary

Fixed 20 issues in 10 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 1 fix to [`collection/private/testing/literal-mutable-red-black-tree.rkt`](../blob/HEAD/collection/private/testing/literal-mutable-red-black-tree.rkt)

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

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 1 fix 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`.

Applied 1 fix to [`collection/private/testing/mutable-red-black-tree-invariants.rkt`](../blob/HEAD/collection/private/testing/mutable-red-black-tree-invariants.rkt)

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

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/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`.

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.

## Summary

Fixed 20 issues in 10 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 9, 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