[Issue 5005] Remove restrictions on module/package with same name.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 6 14:39:13 PDT 2010


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


Yao Gómez <yao.gomez at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yao.gomez at gmail.com


--- Comment #3 from Yao Gómez <yao.gomez at gmail.com> 2010-10-06 14:38:49 PDT ---
voted++

I wanted to have this exactly behavior in my date and time library, which is a
port from Boost date_time, and have an humongous quantity of modules/files and
functionality.

For example, I have the following modules:

---
yao.datetime.core;
yao.datetime.date;
yao.datetime.time;
yao.datetime.localtime;
yao.datetime.timezone;
yao.datetime.iso8601;
... etc ...
---

Although is perfectly valid to import one specific module if you want only the
functionality of said module, it would be great if, to import all of the date
and time facilites, I could create a module called yao.datetime, with just
public imports of all of the above modules.

Granted, I can use bearophile's suggestion of yao.datetime.all, but for me just
using yao.datetime looks way better.

-- 
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