On Mon, Jun 18, 2007 at 09:16:10AM +0100, Simon Marlow wrote: > > > > modules: ... > > modules[testing]: ... > > modules[internal]: ... > > A simpler way to solve this problem is to have two packages, with the first > package (foo-internal) exporting all the modules, and the second (foo) > re-exposing just the non-internal modules. We don't currently have support > for re-exposing, but it has lots of uses and it shouldn't be too hard to > add (to GHC, at least). > > Perhaps it's not quite as nice, though: the foo-internal package shows up > in your ghc-pkg list, and you need two separate Cabal packages (although > good support for working with multiple packages is something we should have > too).
It also means that none of your internal modules can depend on any of your normal modules. (I'm not really convinced it's simpler either) Thanks Ian _______________________________________________ cabal-devel mailing list [email protected] http://www.haskell.org/mailman/listinfo/cabal-devel
