It is common to export an Foo.Internal module that has the internals of your library in it, with a doc at the top that this is meant for internal use.  It can be used both for testing and sometimes the user of your library can do something with it you didn't think of if he has access to the internals.

On Mon, Oct 2, 2017 at 5:28 AM, Baa <aquagnu@gmail.com> wrote:
Hello, All!

What is the standard Haskell convenience about export of module names for
testing? As I understand, I should export all of them which looks like
abstraction leak, but without this I can't test them, right?

===
Best regards, Paul
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners