Skip to content
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

format long lambda clause body on a new line #2015

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Conversation

paulcadman
Copy link
Collaborator

This PR modifies the pretty printer for lambda clauses so that the body will start on a new line if it is too long to fit on a single line. This is exactly how we handle function clause bodies.

@paulcadman paulcadman added this to the 0.3.3 milestone Apr 18, 2023
@paulcadman paulcadman self-assigned this Apr 18, 2023
@paulcadman paulcadman added the enhancement New feature or request label Apr 18, 2023
@paulcadman paulcadman temporarily deployed to github-pages April 18, 2023 16:53 — with GitHub Actions Inactive
@paulcadman paulcadman merged commit c55f23f into main Apr 18, 2023
@paulcadman paulcadman deleted the format-lambda-clause branch April 18, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Formatter: start long lambda clause body on a new line
2 participants