bud problems
Derek Parnell
derek at nomail.afraid.org
Wed Nov 8 19:42:22 PST 2006
On Thu, 09 Nov 2006 12:15:01 +0900, Bill Baxter wrote:
> Is bud a-ok with = and :'s in imports?
>
> import submodule = mypackage.submodule.detail;
> import std.stdio : writefln;
>
> And also note that I'm renaming submodule.detail to just submodule.
> Could that be confusing bud?
Yes, these forms are okay to use. In the first form, the module's real name
is the stuff after the '=', and in the second is the stuff before the ':'.
Bud doesn't need to know how you use the module name in your code, just
that you are importing it.
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocrity!"
9/11/2006 2:40:25 PM
More information about the Digitalmars-d-learn
mailing list