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@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@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners



--
Regards

Sumit Sahrawat