Proposal for custom time string formatting in std.datetime
Jacob Carlborg
doob at me.com
Thu Dec 22 14:00:01 PST 2011
On 2011-12-22 20:27, Andrei Alexandrescu wrote:
> On 12/22/11 1:25 PM, Piotr Szturmaj wrote:
>> I wish D could support partial modules - partial as analogy to C#'s
>> partial classes.
>>
>> module std.datetime-unit1;
>> import std.datetime-unit2;
>> // dash allowed only in submodules with the same module name
>> ....
>>
>> module std.datetime-unit2;
>> import std.datetime-unit1;
>> ....
>>
>> // then
>>
>> module whatever;
>> import std.datetime; // as usual
>
> I think there's a lot of mileage in the 1:1 correspondence between files
> and modules, and between directories and packages. We should keep it
> that way.
>
> Andrei
I like the 1:1 mapping between file and modules, and folders and
packages as well.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list