http://d.puremagic.com/issues/show_bug.cgi?id=10022


Jonathan M Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #4 from Jonathan M Davis <[email protected]> 2013-05-04 17:55:29 
PDT ---
> Same as Issue 3603?

No, it's a variant of DIP 15. It'll make it so that you could do something like
replace std/datetime.d with

std/datetime/common.d
std/datetime/interval.d
std/datetime/package.d
std/datetime/timepoint.d
std/datetime/timezone.d

and std/datetime/pakckage.d could then look something like

--------------
/++ Package documentation here +/
module std.datetime.package;

public import std.datetime.common;
public import std.datetime.interval;
public import std.datetime.timepoint;
public import std.datetime.timezone;
--------------

So, std.datetime could then be broken up and no code would break. It would also
likely replace the all.d idiom that some people have been using to make it so
that you can import an entire package at once, since it's basically all.d with
compiler support. Even better, it also then gives us a way to document
packages.

We discussed it with Andrei and Walter at dconf after Adam Wilson was
complaining about the lack of this sort of ability in his talk, and we
eventually got Andrei and Walter to agree to it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to