There is a ghc proposal for among other things qualified exports: https://github.com/ghc-proposals/ghc-proposals/pull/205

—Adam

On 22 Feb 2019, at 07:58, Henning Thielemann <lemming@henning-thielemann.de> wrote:


On Thu, 21 Feb 2019, Lennart Augustsson wrote:

Sure, but with a lot more overhead.

It would look like this:


module Unqualified (...) where


module Qualified (
  module Unqualified,
  e,
  ) where


If the list of qualified exports is long, then it might even be less to write than adding 'qualified' to many identifiers. I don't like to make the already complicated module system even more complicated for promoting a feature that has code smell anyway (namely, unrestricted unqualified imports).
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries