[Haskell-cafe] what if two package contains same module?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Jun 30 10:18:36 CEST 2011

On 30 June 2011 17:40, 吴兴博 <wuxb45 at gmail.com> wrote:
> it seems that cabal install different into different folders.
> if two package contains same module name, can they all exist?
> since cabal have no "remvoe" or "uninstall". how can I hide some packages?

ghc-pkg hide foo-1.2.3

This will work for using them in ghci and explicit ghc calls.
Otherwise, when using packages built with cabal, you specify which
libraries you use and Cabal hides the rest.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list