[Haskell-cafe] [Haskell-community] technical thoughts on stack
Patrick Pelletier
code at funwithsoftware.org
Thu Sep 15 23:42:16 UTC 2016
On 9/15/16 4:19 PM, Harendra Kumar wrote:
> How about cabal-install using the YAML format as hpack has proven that
> it works very well for expressing the existing .cabal files? YAML is
> simple, flexible and open, used across many tools so the knowledge of
> format is more widely sharable which has its advantages. Are there
> reasons to keep using the cabal format other than the legacy reasons
> and the pain of asking everyone to move to another format?
The legacy reasons are important. Haskell has a wonderfully rich
software ecosystem, and I wouldn't want to see that ruined by fragmentation.
At the very least, if hpack is going to be supported as an alternative
to .cabal files, the support should be implemented in cabal-the-library,
not in the front-ends like cabal-install or stack. As long as all the
front-ends use cabal-the-library to parse project files, then
cabal-the-library can add support for new types of project files (while
still keeping support for .cabal files) without risk of fragmentation.
--Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160915/d3e33fdd/attachment.html>
More information about the Haskell-Cafe
mailing list