[Haskell-beginners] cabal: library and executable

David McBride toad3k at gmail.com
Thu May 9 17:54:17 CEST 2013

You can go to hackage and check out the "package description" link
within any package page and that is just a .cabal file.  Here is an
example that has both a library and an executable:

On Thu, May 9, 2013 at 11:24 AM, harry <voldermort at hotmail.com> wrote:
> I've written a library, and a simple program to demonstrate it. I can write
> the cabal file for the library, but I can't get the executable section
> right. How can I tell it to use the library defined herein?
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list