
10 Jan
2011
10 Jan
'11
5:22 p.m.
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.
If you look at a random package, then "foo.cabal" feels like a file
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. 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.