Re:Why are we templating YAML?
by basil-rash on Thursday February 07, 2019 @09:40PM
(#19111020)
Each line is not independent: you cannot comment out the first line. A better approach is to allow trailing commas. (I suppose you could allow leading commas, does Haskell support this?)
[ Parent
| on HN ]
Unfortunately no.
Allowing trailing commas, like Python does, would be really great. Unfortunately trailing commas already mean something: (a,b,) is a function that still takes 1 argument to make a triple. It's called "TupleSections".