RFC: Units of measurement for D (Phobos?)
Marc Schütz via Digitalmars-d
digitalmars-d at puremagic.com
Tue Mar 15 03:31:46 PDT 2016
On Tuesday, 15 March 2016 at 09:13:10 UTC, Nordlöw wrote:
> On Monday, 14 March 2016 at 09:04:28 UTC, Nordlöw wrote:
>> http://klickverbot.at/code/units/std_units.html
>> http://klickverbot.at/code/units/std_units.html#PrefixSystem
>
> No module name in Phobos is currently in plural form.
std.traits
std.signals
std.typecons ;-)
> I suggest we stick to that standard a name these
>
> std.experimental.unit
> std.experimental.unit.si
>
> One thing. How should these modules be represented on the file
> system?
std/experimental/unit/package.d
std/experimental/unit/si.d
For some other modules, Andrei has insisted that package.d must
publicly import all subpackages, but I see no reason for this.
std.experimental.unit can contain the basic general
functionality, and std.experimental.unit.si the SI specific ones.
More information about the Digitalmars-d
mailing list