-
-
Notifications
You must be signed in to change notification settings - Fork 95
Automated Resyntax fixes #772
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
Open
resyntax-ci
wants to merge
10
commits into
master
Choose a base branch
from
autofix-114-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9cced4a
Fix 1 occurrence of `nested-when-to-compound-when`
resyntax-ci[bot] a560305
Fix 1 occurrence of `and-let-to-cond`
resyntax-ci[bot] 8b6e6f6
Fix 1 occurrence of `map-to-for`
resyntax-ci[bot] 10818d4
Fix 1 occurrence of `andmap-to-for/and`
resyntax-ci[bot] 2804304
Fix 3 occurrences of `string-append-with-format-to-format`
resyntax-ci[bot] 747d8b2
Fix 3 occurrences of `for-each-to-for`
resyntax-ci[bot] e53e8c2
Fix 7 occurrences of `let-to-define`
resyntax-ci[bot] 4b8dd83
Fix 1 occurrence of `define-lambda-to-define`
resyntax-ci[bot] 59d6205
Fix 1 occurrence of `define-lambda-to-curried-define`
resyntax-ci[bot] f3b9ed0
Fix 1 occurrence of `quasiquote-to-list`
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.
I merged one of these before, but I'm not convinced of this one. The indentation savings in this example isn't serious but the
andmakes it a bit harder to read, especially since it is all on one line.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.
Interesting. I find this kind of thing more readable because it's easier to check that the code following it is outside the
when. But maybe there's some room for nuance about when the rule is worth applying. I'll give it some thought. Let me know if you see other instances of this rule that seem off to you.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.
In this particular instance it is not helping that the two arguments to the "and" are on the same line. I think I would not see much difference between the two if the revised version had also taken 3 lines.