Proposal: module namespaces.

Christian Brolin Christian.Brolin@carmen.se
Tue, 27 Feb 2001 14:19:30 +0100


Malcolm Wallace wrote:
> 
>     I propose that every import have an implicit "as"
>     clause to use as an abbreviation, so in
>             import qualified Text.Xml.Parse   [ as Parse ]
>     the clause "as Parse" would be implicit, unless overridden by the
>     programmer with her own "as" clause.  The implicit "as" clause
>     always uses the final subdivision of the module name.

What about, e.g.
  import qualified Text.Xml.Parse
  import qualified Text.Yml.Parse
?

-- 
Christian Brolin