On Thu, 05 Apr 2012 10:59:31 -0400, Steven Schveighoffer <schvei...@yahoo.com> wrote:

On Thu, 05 Apr 2012 10:53:34 -0400, deadalnix <deadal...@gmail.com> wrote:

Le 05/04/2012 16:47, Steven Schveighoffer a écrit :

Not really. Just move the files to another directory (i.e.
std/internal/algorithm) and publicly import them.


std/internal isn't good. If I just want to import sort, I would have to do std.internal.algorithm.sort, which isn't good.

import std.algorithm : sort;

BTW, this doesn't work today, I'll file a bug.

Nevermind, it works the same as if sort is defined in a std.algorithm module. I'm kind of surprised the FQN doesn't work though...

-Steve

Reply via email to