Re: [Haskell-cafe] Imports in complex Setup.hs -- should we encourage/require PackageImports?

2011-05-24 Thread Rogan Creswick
On Mon, May 23, 2011 at 3:08 PM, John Millikin jmilli...@gmail.com wrote: Any ideas/comments? Has anyone by chance found a good solution to this? I suggested a SoC project to implement a dependencies section for Setup.hs: http://hackage.haskell.org/trac/summer-of-code/ticket/1602 I wasn't

[Haskell-cafe] Imports in complex Setup.hs -- should we encourage/require PackageImports?

2011-05-23 Thread John Millikin
Several libraries (notably Pandoc and Gtk2hs) have very complex Setup.hs scripts, which import several external libraries. In my experience, these imports are very fragile, because Cabal does not enforce package visibility in Setup.hs. For example, a Setup.hs that imports Control.Monad.Trans