-
Notifications
You must be signed in to change notification settings - Fork 217
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
dhall-to-yaml faulty output corner cases? #1939
Comments
Thanks for the report! I think all of these issues stem from the YAML renderer used in As a workaround, you could try using an alternative Dhall to YAML converter, |
I have a pull request up to fix |
Edit: moved the comment to clovyr/aeson-yaml#12 |
About dhall-lang#1939 (comment) With the current aeson-yaml version used in Dhall, a text value containing a colon like this one: `Location: https://example.org` is not quoted in the yaml representation: ``` > dhall-to-yaml <<< '{ headers = ["Location: https://example.org"] }' headers: - Location: https://example.org ``` which is a bug as it doesn't represent the same data.
About dhall-lang#1939 (comment) With the current aeson-yaml version used in Dhall, a text value containing a colon like this one: `Location: https://example.org` is not quoted in the yaml representation: ``` > dhall-to-yaml <<< '{ headers = ["Location: https://example.org"] }' headers: - Location: https://example.org ``` which is a bug as it doesn't represent the same data.
https://github.com/clovyr/aeson-yaml seems to be unmaintained and Since |
A question: is there a complete specification for what dhall-yaml must do, and tests checking that |
:
(breaks some yaml parsers).e
.I don't think the
--quoted
option should be required to avoid the weirdness.The text was updated successfully, but these errors were encountered: