
I'm not in favour of this proposal, i.e. point (2) from your original message[1]. I don't think I fully understand it: is there a mistake in the last example of point (2)? The other examples can be achieved in a clearer way with a 'qualified module' export.
[1] http://www.haskell.org//pipermail/libraries/2005-March/003404.html I am not sure if it is a good idea either. There indeed was a bug in
Yes, the qualified keyword is necessary to distinguish 'qualified module M' from 'module M' in the export list - they would mean different things. You are right. I was thinking that we could use the "as" for this
It sounds like you're supporting the addition of a 'hiding' clause for module exports? I was actually advocating the opposite! Well, I find that having something like "hiding" is useful in the situations I described. I was agreeing with you that perhaps the non-hiding versions, e.g. module A(f,g) are not very useful, but perhaps should be there for symmetry. As you mentioned this is important when you want to talk about the current module, and even if GHC supported modules that import themsleves I don't think this would achieve the desired effect, at least if recursive modules have the semantics that we presented in
Hello,
On Wed, 9 Mar 2005 23:09:26 -0000, Simon Marlow