[Haskell-beginners] Export of names only for testing
toad3k at gmail.com
Mon Oct 2 10:39:31 UTC 2017
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
On Mon, Oct 2, 2017 at 5:28 AM, Baa <aquagnu at 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 at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners