
16 Sep
2016
16 Sep
'16
7:53 p.m.
On 17 September 2016 at 03:43, Herbert Valerio Riedel
I'm not sure if this has been pointed out already, but beyond turning a proper grammar into a stringly-typed one, shoehorning some features of .cabal files into YAML syntax really appear like a case of the "Genius Tailor"[1], e.g. consider the `hpack` example
when: - condition: flag(fast) then: ghc-options: -O2 else: ghc-options: -O0
I agree. Supporting conditionals with YAML looks hacky! -harendra