-
-
Couldn't load subscription status.
- Fork 104
Automated Resyntax fixes #1443
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
Merged
Merged
Automated Resyntax fixes #1443
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
597ac0e
Fix 13 occurrences of `single-clause-match-to-match-define`
resyntax-ci[bot] d67d579
Fix 1 occurrence of `define-lambda-to-define`
resyntax-ci[bot] 3bcaaa4
Fix 8 occurrences of `let-to-define`
resyntax-ci[bot] a5b1c3d
Fix 6 occurrences of `define-syntax-syntax-rules-to-define-syntax-rule`
resyntax-ci[bot] 17ffc17
Fix 4 occurrences of `if-else-false-to-and`
resyntax-ci[bot] 5fae6b4
Fix 1 occurrence of `inverted-when`
resyntax-ci[bot] 2330432
Fix 2 occurrences of `zero-comparison-to-positive?`
resyntax-ci[bot] 16cb2c9
Fix 1 occurrence of `define-simple-macro-to-define-syntax-parse-rule`
resyntax-ci[bot] ff2e657
Fix 1 occurrence of `provide-deduplication`
resyntax-ci[bot] 851dbaa
Fix 1 occurrence of `if-let-to-cond`
resyntax-ci[bot] 1a58a0a
Fix 1 occurrence of `apply-flattening`
resyntax-ci[bot] c93bc56
Fix 2 occurrences of `define-values-values-to-define`
resyntax-ci[bot] dd3d9ac
Fix 3 occurrences of `sort-with-keyed-comparator-to-sort-by-key`
resyntax-ci[bot] 4aa242a
Fix 1 occurrence of `map-to-for`
resyntax-ci[bot] a712df6
Fix 3 occurrences of `quasiquote-to-list`
resyntax-ci[bot] 68db708
Fix 1 occurrence of `for/fold-result-keyword`
resyntax-ci[bot] 332a4ee
Fix 1 occurrence of `when-expression-in-for-loop-to-when-keyword`
resyntax-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sorawee A nice
fmtimprovement would be to keep description-value pairs adjacent in~aand similar formatting expressions.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What exactly are considered "description-value pairs"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some examples:
field v ... ...argument ofraise-arguments-error.~a,~v,~s, etc.That is, cases that construct the
<field>: <detail>parts of an error message as described in Error Message Conventions. Not sure how easy it is to detect all of these though.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that it's a good idea for the
raise-arguments-errorfamily and thehashfamily. I don't yet buy that the heuristic described for~awill work well.