[Issue 4113] New: std.typetuple, std.typecons, TypeTuple, Tuple, tuple names
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 21 15:09:21 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4113
Summary: std.typetuple, std.typecons, TypeTuple, Tuple, tuple
names
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-04-21 15:09:19 PDT ---
I think the Phobos module "std.typetuple" is not well named because the tuples
can contain values (variables) too.
The std.typecons defines a Tuple. In D1 tuples are generally meant the ones
used in std.typetuple. So I think this module too can be better named. Such
tuples are implemented in D with structs, and in Pascal structs are named
records.
So I propose the following five name changes:
std.typetuple ==> std.tuples
std.typetuple.TypeTuple ==> std.tuples.Tuple
std.typecons => std.records
std.typecons.Tuple ==> std.records.Record
std.typecons.tuple ==> std.records.record
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list