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

Add EmptyLine Event #50

Closed

Conversation

TristanCacqueray
Copy link
Contributor

This change adds rudimentary support for preserving empty lines.

Fixes: #48

This change adds rudimentary support for preserving empty lines.

Fixes: haskell-hvr#48
@TristanCacqueray
Copy link
Contributor Author

This is probably not enough, but that seems on the right track:

> writeEvents UTF8 $ map eEvent $ rights $ parseEvents "i: 1\n\nj: 2"
"i: 1\n\nj: 2\n"

@andreasabel andreasabel marked this pull request as draft February 12, 2022 20:41
@andreasabel
Copy link
Member

I understand this is still a draft.

@TristanCacqueray
Copy link
Contributor Author

Unfortunately I don't have time to finish this work.

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.

Empty lines fail to round trip
2 participants