
23 Sep
2012
23 Sep
'12
12:11 p.m.
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