[Haskell-beginners] Packages

Sumit Sahrawat, Maths & Computing, IIT (BHU) sumit.sahrawat.apm13 at iitbhu.ac.in
Thu Jun 11 08:46:35 UTC 2015


Your .cabal file will have some exported-modules. Install the library using
`cabal install` and then import these modules to test them.

Take a look here for more: https://www.haskell.org/cabal/users-guide/

On 11 June 2015 at 13:51, Mike Houghton <mike_k_houghton at yahoo.co.uk> wrote:

> I’m using Cabal to build a package from  some source I’m writing. It is
> not an executable but rather a library.
> How can I test locally that the package I’m making is complete? ie How do
> I reference the package I’ve just buiilt in a haskell source file?
>
>
> Thanks
> Mike
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>



-- 
Regards

Sumit Sahrawat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150611/55d5a3a7/attachment.html>


More information about the Beginners mailing list