
16 Sep
2020
16 Sep
'20
1:56 p.m.
On Wed, 16 Sep 2020, Ignat Insarov wrote:
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?
You need explicit exports in the public interface, in my example module "A".
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.
Yes, I prefer Text.pack and Map.union etc.