Maps to Yaml preserving key order



is there any option to instruct the dhall-to-yaml converter to preserver the order of the map keys?

I have built a tool that leverages a Yaml configuration to generate some XML, where the order of the tags is relevant to validate; I would love to build my Yaml configuration using Dhall, but at the Yaml file I get right now has its keys (apparently) sorted in alphabetic order.


Giulio Cesare


@gcsolaroli: Yeah, this is an problem we need to fix, and we have an issue to track it here:


Thanks for the pointer.


@gcsolaroli: You’re welcome! :slightly_smiling_face: