Closed geniusisme closed 1 year ago
Not sure if that helps, but you can also use backtick with this syntax:
{ `1` = "one" }
dhall-to-yaml produces:
'1': one
Closing this one since an solution to the problem has been provided. Please reopen if the answer is unsatisfying.
This is probaly a mix between core dhall and dhall-to-yaml
Consider the following:
Good so far. Now let's try this:
But why? Let's dig deeper:
Not the result we were looking for. Maybe this?
Ok, we made this work. But still, this is not ideal. Preferably, there is a way to getting just
1: one
. Also, it would be nice to work withNatrural
s in the dhall code. And, of course, havingtoMap
to be more generic would be nice, too.