External Publication
Visit Post

Why aren't modules prefixed their package name?

Haskell Community [Unofficial] May 1, 2026
Source

ashokkimmel:

What problems?

The problem is that there would be incompatible sets of packages. If package A and B both export module X. Then you can’t depend on both A and B because import X would be ambiguous.

With my current plan for Hazy, not only would you not be able to depend on both A and B, but it would disallow A and B from appearing in the same program at all. As I expect module names to be unique.

Discussion in the ATmosphere

Loading comments...