<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 17 September 2016 at 03:43, Herbert Valerio Riedel <span dir="ltr"><<a href="mailto:hvriedel@gmail.com" target="_blank">hvriedel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb"><br>
</span><div class="HOEnZb"><div class="h5">I'm not sure if this has been pointed out already, but beyond turning a<br>
proper grammar into a stringly-typed one, shoehorning some features of<br>
.cabal files into YAML syntax really appear like a case of the "Genius<br>
Tailor"[1], e.g. consider the `hpack` example<br>
<br>
when:<br>
- condition: flag(fast)<br>
then:<br>
ghc-options: -O2<br>
else:<br>
ghc-options: -O0<br><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">I agree. Supporting conditionals with YAML looks hacky!</div><div class="gmail_extra"><br></div><div class="gmail_extra">-harendra</div></div>