Re:Dhall: A Non-Repetitive Alternative to YAML
by piotrkubisa on Thursday July 04, 2019 @02:29PM
(#20356727)
It looks that Dhall has been inspired of the Elm language [0] and it's formatter.
Re:Dhall: A Non-Repetitive Alternative to YAML
by bvaldivielso on Thursday July 04, 2019 @03:04PM
(#20356941)
It's a common practice in the Haskell community. Knowing where the creator of dhall comes from I would say that that's the source of inspiration
Re:Dhall: A Non-Repetitive Alternative to YAML
by Gabriel439 on Friday July 05, 2019 @11:31PM
(#20367620)
Author here: the syntax is inspired by all three of Haskell/PureScript/Elm
Re:Dhall: A Non-Repetitive Alternative to YAML
by GordonS on Thursday July 04, 2019 @06:35PM
(#20358341)
I get that this makes diffs a tiny bit nicer when adding new lines, if you don't use trailing commas, but christ it's ugly!
Re:Dhall: A Non-Repetitive Alternative to YAML
by Jeff_Brown on Thursday July 04, 2019 @03:16PM
(#20357007)
> commas at the start of lines
are not a requirement.
Re:Dhall: A Non-Repetitive Alternative to YAML
by anentropic on Friday July 05, 2019 @09:21AM
(#20362288)
OTOH I would guess it doesn't allow a trailing comma (same problem as JSON...) so you end up with weird ugly formatting conventions
Re:Dhall: A Non-Repetitive Alternative to YAML
by singpolyma3 on Friday July 05, 2019 @08:40PM
(#20366990)
Final trailing comma is not in the standard yet, but will be soon
Re:Dhall: A Non-Repetitive Alternative to YAML
by Jeff_Brown on Friday July 05, 2019 @11:38AM
(#20363351)
No, you can use trailing commas if you want.
I hate commas at the start of lines and I would prefer not to have curly braces in a human editable/readable format.
Neither reason is terribly rational but my first impressions weren't great.