<div dir="ltr">Your .cabal file will have some exported-modules. Install the library using `cabal install` and then import these modules to test them.<div><br></div><div>Take a look here for more: <a href="https://www.haskell.org/cabal/users-guide/">https://www.haskell.org/cabal/users-guide/</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 June 2015 at 13:51, Mike Houghton <span dir="ltr"><<a href="mailto:mike_k_houghton@yahoo.co.uk" target="_blank">mike_k_houghton@yahoo.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’m using Cabal to build a package from some source I’m writing. It is not an executable but rather a library.<br>
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?<br>
<br>
<br>
Thanks<br>
Mike<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div>Regards</div><div dir="ltr"><div><br></div><div>Sumit Sahrawat</div></div></div></div></div></div></div>
</div>