30 Jun
2011
30 Jun
'11
6:23 p.m.
吴兴博
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?
Alternatively for small programs for which you don't use a Cabal file you can use the PackageImports extension (-XPackageImports) and import modules from specific packages. For example both the 'pool' and the 'resource-pool' packages provide a Data.Pool module. You can choose to import the one from 'resource-pool' using this: import "resource-pool" Data.Pool Greets, Ertugrul -- nightmare = unsafePerformIO (getWrongWife >>= sex) http://ertes.de/