On 30 June 2011 17:40, 吴兴博 <wux...@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.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe