[Haskell-cafe] [ANN] cartel - specify Cabal files using Haskell

Daniel Trstenjak daniel.trstenjak at gmail.com
Wed May 28 06:20:32 UTC 2014


Hi Omari,

On Tue, May 27, 2014 at 09:55:59PM -0400, Omari Norman wrote:
> The Cabal file format works very well for small projects. However, in big
> projects with a library, many executables, and test suites, some irritations
> emerge. You need to specify dependencies in multiple places, leading to
> redundancy.

That's not quite true, you can share the dependencies and specify the
modules once, but you have to use a different sub directory for each
section (library, executable, test-suite, benchmark) in the cabal file.

See: https://github.com/dan-t/hsimport/blob/master/hsimport.cabal


Greetings,
Daniel


More information about the Haskell-Cafe mailing list