Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
merijnv
on Feb 8, 2019
|
parent
|
context
|
favorite
| on:
Why are we templating YAML?
Having prefixed commas is a rather common style in the Haskell community, because it ends up nicely matching open/closing brackets/braces and lining things up.
Since the author of Dhall comes from the Haskell community, he's kept this style.
Gabriel439
on Feb 8, 2019
[–]
Author here: This is correct. I'm just borrowing a Haskell convention. Also, I like this convention because it leads to vertical alignment of commas.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Since the author of Dhall comes from the Haskell community, he's kept this style.