-
Notifications
You must be signed in to change notification settings - Fork 57
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
Properly newline expressions in the pretty printer #1581
Properly newline expressions in the pretty printer #1581
Conversation
19d885c
to
d28a700
Compare
A very easy way is to maybe just newline after the |
I actually tried to do that but I didn't succeed. I'll need to spend some more time with it |
d4ea4cc
to
271b565
Compare
This pr now includes:
I started to work on an enchancement to the algorithm that supports cycling nesting levels when the nesting level comes too close to the end of the page. However, it required a bigger refactor and it will be merged (in case we want it) in another pr. Some wip is fond in https://github.com/anoma/juvix/tree/anchor-experiment branch |
follow-up to #1577
I think it still uses too much horizontal space and it should be improved. Also, it only works for regular application. Infix chains are treated as before.