-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an automated change generated by Resyntax. #### Pass 1 Applied 4 fixes to [`drracket/help/bug-report.rkt`](../blob/HEAD/drracket/help/bug-report.rkt) * Line 2, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files. * Line 52, `cond-let-to-cond-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 262, `if-begin-to-cond`: Using `cond` instead of `if` here makes `begin` unnecessary * Line 278, `cond-let-to-cond-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. Applied 9 fixes to [`drracket/help/private/bug-report-controls.rkt`](../blob/HEAD/drracket/help/private/bug-report-controls.rkt) * Line 2, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files. * Line 16, `provide/contract-to-contract-out`: The `provide/contract` form is a legacy form made obsolete by `contract-out`. * Line 64, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 154, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. * Line 256, `map-to-for`: This `map` operation can be replaced with a `for/list` loop. * Line 311, `map-to-for`: This `map` operation can be replaced with a `for/list` loop. * Line 327, `map-to-for`: This `map` operation can be replaced with a `for/list` loop. * Line 337, `unused-definition`: This definition is not used. * Line 371, `let-to-define`: Internal definitions are recommended instead of `let` expressions, to reduce nesting. Applied 2 fixes to [`drracket/help/private/save-bug-report.rkt`](../blob/HEAD/drracket/help/private/save-bug-report.rkt) * Line 3, `tidy-require`: Keep imports in `require` sorted and grouped by phase, with collections before files. * Line 185, `provide/contract-to-contract-out`: The `provide/contract` form is a legacy form made obsolete by `contract-out`. ## Summary Fixed 15 issues in 3 files. * Fixed 3 occurrences of `tidy-require` * Fixed 3 occurrences of `let-to-define` * Fixed 3 occurrences of `map-to-for` * Fixed 2 occurrences of `provide/contract-to-contract-out` * Fixed 2 occurrences of `cond-let-to-cond-define` * Fixed 1 occurrence of `unused-definition` * Fixed 1 occurrence of `if-begin-to-cond` Co-authored-by: resyntax-ci[bot] <181813515+resyntax-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f1521d9
commit 073a2f9
Showing
3 changed files
with
113 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters