[Haskell-community] Standard package file format

Harendra Kumar harendra.kumar at gmail.com
Fri Sep 16 23:53:20 UTC 2016


On 17 September 2016 at 03:43, Herbert Valerio Riedel <hvriedel at gmail.com>
wrote:

>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-community/attachments/20160917/8e1b1aa2/attachment.html>


More information about the Haskell-community mailing list