7 ms·
FOR loops? YAML has a merge key <<:, which might be helpful. The merge key is a clever little trick, but it depends of the special hash key, so lists can’t be
by transfire 11mo ago
FOR loops?
YAML has a merge key <<:, which might be helpful.
The merge key is a clever little trick, but it depends of the special hash key, so lists can’t be merged.
Syntax does matter, which is why YAML matters — even if imperfect.
- rattyJ2 11mo agoMerges and anchors are some of the least maintaineable and most error-prone config i've seen. Doesn't help every yaml parser has their own opinion on what a merge or an anchor should do, exactly.