[Haskell-cafe] Cabal: wrapping namespace of a package into top-level module

Brandon Allbery allbery.b at gmail.com
Tue May 24 06:52:11 CEST 2011


On Tue, May 24, 2011 at 00:38, max ulidtko <ulidtko at gmail.com> wrote:

> I have a package which builds with cabal pretty fine, but there is
> namespace issue which disturbs me. The problem is that the package
> exports (to the toplevel namespace!) some modules with fairly general
> names, like Tests, Basics, Applications. This is probably an oversight
>

Sadly that isn't so much a Cabal issue as something deeper inside ghc.  I
could imagine something using ghc-api to accomplish it, but that goes well
outside of what cabal can cope with.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110524/f7a0e6fb/attachment.htm>


More information about the Haskell-Cafe mailing list