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

Ignat Insarov kindaro at gmail.com
Wed Sep 16 17:52:23 UTC 2020


Thank you Henning.

So, the notion of internal libraries amounts to an even stronger
argument in favour of eschewing explicit exports, at least in the case
we consider. Am I reading your implication correctly?

As for qualified imports, I also follow this practice and I think it
is most readable, given that the qualifications are words and not just
letters — alas, using single letter qualifications, such as `T.pack`
for `Data.Text.pack`, is common.


More information about the Haskell-Cafe mailing list