
23 Apr
2014
23 Apr
'14
12:43 p.m.
On 4/23/2014 8:01 AM, Henk-Jan van Tuyl wrote:
Go to the directory where the .cabal file is, and type cabal install without a package name.
Ah, I see. I was looking for a makefile or something that was part of the package. But won't that "install" it, overwriting the normal one?
A related issue: what should I do about the local copy of a module name that is also installed? Can I make my project use that instead, without having to globally change the name in all the files?
You can use a GHC extension, to specify the package to use, see http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html look for Package-qualified imports
Regards, Henk-Jan van Tuyl