On Sat, 2010-08-28 at 16:24 +0200, Philippe Sigaud wrote:
> 
> 
> On Sat, Aug 28, 2010 at 02:48, David Simcha <[email protected]> wrote:
>          I've cleaned up/fixed the bit rot in my Rational library.
>          It's available for review at:
>          
> http://dsource.org/projects/scrapple/browser/trunk/rational/rational.d?rev=785
>  .
> 
> Let's give it a try.
> First thing, it's not your faut, but:
> 
> import rational;
> void main()
> {
>     auto r = rational(1,2); // error, finds module rational and not
> rational.rational
> }
> 
> This is going to be a PITA...

But it's only a problem when the module is called 'rational'.  If it
becomes 'std.rational' or is incorporated in std.numeric, it won't be a
problem anymore.

-Lars


_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to