[Haskell-cafe] Standard package file format

Imants Cekusins imantc at gmail.com
Fri Sep 16 13:52:42 UTC 2016


.. if this helps the discussion, here is cabal file "spec"
<https://github.com/ghc/packages-Cabal/blob/71535bfb1bf439a1af0308a8e5da9ef98cd2d88d/Cabal/Distribution/Types/GenericPackageDescription.hs>
(see also other files in the same directory)

these types are used to parse .cabal.

one benefit from using these types in reverse (to generate .cabal from .hs)
would be:

it is possible to write a few libs which generate well-formed cabal files
from a simplified API. It is possible this was done already.
‚Äč
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160916/e4377eff/attachment.html>


More information about the Haskell-Cafe mailing list