-
Notifications
You must be signed in to change notification settings - Fork 430
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
[Formatter] Different infix operators might need to be printed differently #218
Comments
Does the first example actually happen? |
That's how it's currently formatted (string for example). |
We might actually just left align all infix operators by default (but that would be suboptimal for monadic infix operators which most people want to be written on the Right hand side). |
With pipe a long piece of code like this
get's converted by
I think it's much more readable if the pipe stays at the beginning of the line it's piping to, rather than the end. |
There's a PR working on this: #1259 |
This now converts exactly correctly. |
I'm ok with this:
As it is currently, but for stuff like pipe it's probably better like this:
The text was updated successfully, but these errors were encountered: