[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
> http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html
> look for
> Package-qualified imports
>
> Regards,
> Henk-Jan van Tuyl
>
>
More information about the Beginners
mailing list