[Haskell-cafe] ANNOUNCE: module-management-0.9.3 - clean import lists, split and merge modules

Marc Weber marco-oweber at gmx.de
Fri Jun 28 15:28:14 CEST 2013

Excerpts from John Wiegley's message of Fri Jun 28 05:46:31 +0200 2013:
> How about building an executable along with the library called "cleanImports",
Does it require knowledge about the libraries to be used? If so
eventually it should be a cabal option? Or it should be able to load
dependencies from a cabal configure file (.dist/something).

Then there should also be an env var CABAL_CURRENT_DIST_DIR or such,
because sometimes you want to work on multiple dist directories.
cabal could honor this itself.

Then you could

export CABAL_CURRENT_DIST_DIR=dist-foo
./Setup configure && ./Setup build
cleanImports FOO

And everything would work without --dist-dir=dist-foo parameter ?

Marc Weber

More information about the Haskell-Cafe mailing list