[Haskell-beginners] How to build a package?
John M. Dlugosz
ngnr63q02 at sneakemail.com
Wed Apr 23 16:43:17 UTC 2014
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
> look for
> Package-qualified imports
> Henk-Jan van Tuyl
More information about the Beginners