[Haskell-cafe] Organizaing tests in Haskell

Heinrich Apfelmus apfelmus at quantentunnel.de
Sun Sep 23 18:11:59 CEST 2012


Simon Hengel wrote:
>> Of course others are still able to import your Internal modules
> 
> That is not necessarily true.  For libraries, you can list internal
> modules as other-modules (in contrast to exposed-modules) in you Cabal
> file.  That way they are not part of the public interface of your
> library.

How do I access internal modules with  cabal test , though? Last time I 
tried, I could not find a way to expose in the test section of the cabal 
file.


Best regards,
Heinrich Apfelmus

--
http://apfelmus.nfshost.com




More information about the Haskell-Cafe mailing list