std.compress

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Jun 5 12:44:30 PDT 2013


On 6/5/13 3:38 PM, Andrei Alexandrescu wrote:
> On 6/5/13 2:42 PM, H. S. Teoh wrote:
>> Is that even necessary? We could just do this:
>>
>> ----std/algorithm.d----
>> module std.algorithm;
>> public import std.algorithm.search;
>> public import std.algorithm.compare;
>> public import std.algorithm.iteration;
>> public import std.algorithm.sort;
>> public import std.algorithm.set;
>> public import std.algorithm.mutation;
>> ----snip----
>
> For perfect 100% undetectable backwards compatibility:
>
> module std.algorithm;
> private import std.algorithm.search;
> alias balancedParens = std.algorithm.search.balancedParens;
> alias boyerMooreFinder = std.algorithm.search.boyerMooreFinder;
> ...
>
>
> Andrei

Wait, that all doesn't work - there's confusion between the file 
std/algorithm.d file and the std/algorithm/ directory.


Andrei


More information about the Digitalmars-d mailing list