multiple cabal files in one directory?
Henning Thielemann
lemming at henning-thielemann.de
Mon Jan 10 23:22:01 CET 2011
Peter Simons schrieb:
> Arguably, the choice to include the package name in the name of the Cabal file
> is inconsistent with that decision, and that inconsistency is confusing.
Actually, the name does not have to be pkgname.cabal. You can choose any
name with extension .cabal. Cabal complains about multiple files with
that extension. So you could in principle call it description.cabal
consistently in all your packages.
> If you look at a random package, then "foo.cabal" feels like a file
that's specific to
> this package, but "Setup.hs" feels like a file that is generic. In fact, both
> are specific to this package, even though the name of the latter file doesn't
> make that clear.
More information about the Libraries
mailing list