[Haskell-cafe] Package metadata format - notes from discussion
alexander.kjeldaas at gmail.com
Thu Nov 3 14:14:26 UTC 2016
I didn't see much in the form of problem statement in those threads.
Let me suggest one: A new format should support the megarepo setup. Today
95% of the text in a .cabal file that exists in a megarepo is fluff. It
should be possible to specify a .cabal file in 1-3 lines in a typical
- repeating copyright, repo location, ghc options, most of the
dependencies, description, url, author, even version. All should be
inherited. Listing modules seems unnecessary if there are known strategies
How about making the cabal file a Monoid so it can be composed? I heard
that's a Haskell thing.
On Wed, Nov 2, 2016 at 5:05 PM, Harendra Kumar <harendra.kumar at gmail.com>
> For reference, I have organized the major points of the discussion that
> happened earlier on haskell-cafe regarding package metadata format (cabal
> vs yaml, vs toml, vs hs). Take a look at this:
> In my opinion, in the short term it might help if the cabal format is
> improved, the parser is modularized and detached from the cabal tool itself
> so that it can be used independently by any other tools wishing to do so.
> For long term possibility of change of format, I do not intend to pursue or
> investigate it further at this point of time but others who are interested
> are free to do so.
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe