[Haskell-beginners] cabal: library and executable

harry voldermort at hotmail.com
Thu May 9 18:13:30 CEST 2013

David McBride <toad3k <at> gmail.com> writes:


Thanks for the example, but it seems to work because of the simpler
directory structure.

I've got:

In Executable.hs, I have
import Foo.Bar.SomeModule

The library section exposes Foo.Bar.SomeModule just fine, but nothing I do
will make cabal find it when compiling Executable.hs.

On a related point, what actually happens to the executables defined in a
cabal file?

More information about the Beginners mailing list