Naming conventions for functions in similar modules

so so at so.so
Wed Jun 22 10:37:40 PDT 2011


On Wed, 22 Jun 2011 20:16:43 +0300, Andrei Alexandrescu  
<SeeWebsiteForEmail at erdani.org> wrote:

> One improvement would be to relax package lookup such that  
> ascii.tolower() is a synonym for std.ascii.tolower. That way everything  
> works reasonably nice out of the box.
>
>
> Andrei

I suggested that on another reply but there is a trouble with that.
If you have "std.mod.fun" and "mod.fun", calling "mod.fun" is calling the  
latter with its fully qualified name, this leaves no ambiguity with  
current rules but turns everything upside down with this improvement.


More information about the Digitalmars-d mailing list