<div dir="ltr">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.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 2, 2017 at 5:28 AM, Baa <span dir="ltr"><<a href="mailto:aquagnu@gmail.com" target="_blank">aquagnu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello, All!<br>
<br>
What is the standard Haskell convenience about export of module names for<br>
testing? As I understand, I should export all of them which looks like<br>
abstraction leak, but without this I can't test them, right?<br>
<br>
===<br>
Best regards, Paul<br>
______________________________<wbr>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-<wbr>bin/mailman/listinfo/beginners</a><br>
</blockquote></div><br></div>