[Haskell-cafe] Are explicit exports and local imports desirable in a production application?

Ignat Insarov kindaro at gmail.com
Wed Sep 16 18:27:30 UTC 2020


> You need explicit exports in the public interface, in my example module
> "A".

How so? Consider an example [1]. Building it yields an error, showing
that any unsafe definitions contained in `A.Internal` are out of reach
from another package. I must be missing your point.

[1]: https://github.com/kindaro/exports-and-internal-libraries


More information about the Haskell-Cafe mailing list