On 2011-12-23 03:21, Walter Bright wrote:
On 12/22/2011 11:25 AM, 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 have no idea why anyone would want this. (Is it because the file is
too big to fit on a floppy disk? <g>)


std.datetime is kind of hard on IDE's and text editors. I know TextMate has problems with it and Descent has problems with a lot less code.

--
/Jacob Carlborg

Reply via email to