[Haskell-cafe] Cabal confusion. Modules not being exposed still accessible for testing.

Michael Litchard michael at schmong.org
Wed May 4 23:29:00 UTC 2016


Ah thanks!

On Wed, May 4, 2016 at 4:24 PM, Anthony Cowley <acowley at seas.upenn.edu>
wrote:

>
> Michael Litchard writes:
>
> > I use reactive-banana
> > <
> https://github.com/HeinrichApfelmus/reactive-banana/blob/master/reactive-banana/reactive-banana.cabal
> >
> > as an example.
> >
> > My question is how can Reactive.Banana.Internal.Combinators be testable
> > from Reactive.Banana.Test.Plumbing? My misunderstanding is that only
> > modules named in the exposed-modules stanza could be imported. Could
> > someone clear up my misunderstanding?
>
> The shared "hs-source-dirs" means the test suite is re-compiling the file
> from source, not depending on the library.
>
> Anthony
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160504/dafc0540/attachment.html>


More information about the Haskell-Cafe mailing list