Feature Request : Qualified module exports

Ian Lynagh ian at well-typed.com
Mon Jul 8 12:23:07 CEST 2013

On Mon, Jul 08, 2013 at 08:14:12PM +1000, Erik de Castro Lopo wrote:
>    module MyModule
>        ( qualified module T
>         )
>    import qualified Data.Text as T
> so that any module which imports MyModule has access to the symbols
> of Data.Text under the quaified module name T.

Do you mean that after
    import MyModule
is in scope? Won't that be confusing?

What happens if you
    import MyModule as X


More information about the ghc-devs mailing list