-
Notifications
You must be signed in to change notification settings - Fork 61
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
Example formatting is intimidating #87
Comments
The Dhall (Haskell) executable has a formatter which establishes a standard formatting for the language (similar to For what it's worth, I also found the standard formatting jarring when I first started writing Dhall - I got used to it over time, and now the standardization makes standard-formatted code easier to read for me. |
I think it's important to note here that once ... the examples get nicer by using the record completion operator. See this for example: |
yeah... the schemas will look so much nicer once we can do record completion. So much so, that I'm actually referencing the commit from #84 in my files and it killed every usage of merging |
Thanks @Gabriel439, sounds like that'll improve things dramatically |
Are the examples (e.g. https://github.com/dhall-lang/dhall-kubernetes/blob/master/examples/deploymentSimple.dhall ) auto-formatted somehow? These were very offputting to me as the first example I was exposed to, the indentation makes it really hard to parse and implies much more complexity (nesting) than there actually appears to be.
I manually reformatted as https://gist.github.com/timbertson-zd/accefe1f69fd28c77238e43bc80ac3b2. To my (unfamiliar) eyes it looks much more approachable.
The text was updated successfully, but these errors were encountered: