[Haskell-cafe] Design your modules for qualified import

Henning Thielemann lemming at henning-thielemann.de
Thu Jun 5 17:10:54 EDT 2008

On Thu, 5 Jun 2008, Johan Tibell wrote:

> Hi!
> The last two weeks I've seen two new packages that add suffixes to
> identifiers instead of relying on them being imported qualified to
> distinguish them from identifiers in other modules. This is not a new
> thing in Haskell community and there are examples of this practice in
> libraries shipped with GHC. It is also common in papers (for good
> reasons as we will see later). Atomic channels and variables under
> Control.Concurrent.* are examples of using a prefix as a namespacing
> tool. Let me reiterate the arguments [1,2] against this practice and
> also speculate why this practice is more common in Haskell than in
> e.g. Python, Java or Ruby.

Thank you for emphasising these points, again!

More information about the Haskell-Cafe mailing list