Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an automated change generated by Resyntax.
Pass 1
Applied 1 fix to
scribble-lib/scribble/doclang2.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.Applied 1 fix to
scribble-lib/scribble/valid-blueboxes-info.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.Applied 3 fixes to
scribble-lib/scribble/render.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.provide/contract-to-contract-out
: Theprovide/contract
form is a legacy form made obsolete bycontract-out
.let-to-define
: Internal definitions are recommended instead oflet
expressions, to reduce nesting.Applied 1 fix to
scribble-lib/scribble/pdf-render.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.Applied 1 fix to
scribble-lib/scribble/latex-properties.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.Applied 1 fix to
scribble-lib/scribble/comment-reader.rkt
let-to-define
: Internal definitions are recommended instead oflet
expressions, to reduce nesting.Applied 4 fixes to
scribble-lib/scribble/racket.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.if-else-false-to-and
: Thisif
expression can be refactored to an equivalent expression usingand
.map-to-for
: Thismap
operation can be replaced with afor/list
loop.if-x-else-x-to-and
: This conditional expression can be replaced with a simpler, equivalent expression.Applied 7 fixes to
scribble-lib/scribble/struct.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.map-to-for
: Thismap
operation can be replaced with afor/list
loop.map-to-for
: Thismap
operation can be replaced with afor/list
loop.let-to-define
: Internal definitions are recommended instead oflet
expressions, to reduce nesting.andmap-to-for/and
: Thisandmap
operation can be replaced with afor/and
loop.if-let-to-cond
:cond
with internal definitions is preferred overif
withlet
, to reduce nestingcond-let-to-cond-define
: Internal definitions are recommended instead oflet
expressions, to reduce nesting.Applied 1 fix to
scribble-lib/scribble/doclang.rkt
tidy-require
: Keep imports inrequire
sorted and grouped by phase, with collections before files.Summary
Fixed 20 issues in 9 files.
tidy-require
let-to-define
map-to-for
provide/contract-to-contract-out
if-else-false-to-and
if-x-else-x-to-and
andmap-to-for/and
if-let-to-cond
cond-let-to-cond-define