We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems like the comment event is missing some information to indicate if it is inline or standalone:
key: "value" # a comment
Results in (after passing through YE.writeEvents YT.UTF8 . map eEvent . rights . YE.parseEvents
YE.writeEvents YT.UTF8 . map eEvent . rights . YE.parseEvents
The events are:
MappingStart Nothing Nothing Block Scalar Nothing Nothing Plain "key" Scalar Nothing Nothing DoubleQuoted "value" Comment " a comment" MappingEnd
Would it be possible to add an attribute to the Comment event to preserve its line position?
The text was updated successfully, but these errors were encountered:
Yes, some comment position related information is not preserved in a round trip. See https://hackage.haskell.org/package/HsYAML-0.2.1.0/docs/Data-YAML-Event.html#g:4 for more details.
Sorry, something went wrong.
Thank you for the reference. Isn't this something that could be improved?
No branches or pull requests
It seems like the comment event is missing some information to indicate if it is inline or standalone:
Results in (after passing through
YE.writeEvents YT.UTF8 . map eEvent . rights . YE.parseEvents
The events are:
Would it be possible to add an attribute to the Comment event to preserve its line position?
The text was updated successfully, but these errors were encountered: