[Haskell-beginners] How to build a package?

Norbert Melzer timmelzer at gmail.com
Wed Apr 23 16:59:34 UTC 2014


Am 23.04.2014 18:44 schrieb "John M. Dlugosz" <ngnr63q02 at sneakemail.com>:
>
> 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.

You can consider the *.cabal file a Makefile describing the package.

> But won't that "install" it, overwriting the normal one?

Yes. But you could enter the cabal-file and change the name of the package.
There are ways to tell fh-wedel which package it shall use on compiletime.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20140423/84dd5649/attachment.html>


More information about the Beginners mailing list