style: omit <| before fun - #43522
Conversation
PR summary 5db4c074f8Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
felixpernegger
left a comment
There was a problem hiding this comment.
This is a little bit less trivial with regex, but while you are at it, maybe also replace
"foo (fun a \maps b) \n" with "foo fun a \maps b \n" ?
|
That one is definitely harder to do automatically, because you can have Here you can only remove the brackets in the last line, but even then it might look better with keeping all brackets in place, because then the arguments line up better. |
|
I wonder if it would make sense to have a style linter for redundant uses of |
This PR replaces
<| funwithfunas these are equivalent.This was done directly with a single search and replace.
This is similar to #31769