Closed markus1189 closed 6 years ago
I think you should open an issue against the upstream yaml
library: https://github.com/snoyberg/yaml/issues
That's the library that dhall
uses and as far as I can tell it does not provide an option to emit quoted labels when rendering to YAML
Closed in favor if https://github.com/snoyberg/yaml/issues/137
When translating a record to YAML, the labels should always be quoted.
Otherwise you can run into bugs like this:
which is wrong because
true
is now an actual boolean. Intead it should quote the label: