qualified exports , what would that mean Re: Add
Adam Sandberg Eriksson
adam at sandbergericsson.se
Fri Feb 22 08:17:15 UTC 2019
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 at 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 at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20190222/8823ceb1/attachment.html>
More information about the Libraries
mailing list