[Issue 16191] New: std/digest/digest.d should be renamed to package.d
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jun 21 13:23:20 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16191
Issue ID: 16191
Summary: std/digest/digest.d should be renamed to package.d
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: schveiguy at yahoo.com
The fully qualified name of the digest function template
(https://dlang.org/phobos/std_digest_digest.html#digest) is
std.digest.digest.digest. This is because std.digest is a package, with a
module named digest in it, and the function digest inside that.
I think it's reasonable to have std.digest.digest. Even though there's
repetition, it's clear that the first digest is a module, the second is a
function name. But there's no reason (especially with the advent of package.d)
to have a std.digest.digest module.
--
More information about the Digitalmars-d-bugs
mailing list