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

Preserve blank lines in ‘let’ and ‘where’ bindings #611

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

mrkkrp
Copy link
Member

@mrkkrp mrkkrp commented Jun 12, 2020

Close #554.

@mheinzel
Copy link

Would it make sense to also have a test case where there are multiple consecutive blank lines to show that they get collapsed into a single one? At least that's how I think it would behave.

@mrkkrp
Copy link
Member Author

mrkkrp commented Jun 12, 2020

Yeah, although the way Ormolu printer works it is simply impossible to insert more than one consecutive blank line :)

@mrkkrp mrkkrp merged commit a877785 into master Jun 15, 2020
@mrkkrp mrkkrp deleted the mk/issue-554 branch June 15, 2020 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Respect newlines between 'where' bindings
2 participants