Nested imports - y/n
adnan338
relay.public.adnan at outlook.com
Mon Jun 22 03:54:56 UTC 2020
Hello, has the idea of nested imports been explored yet?
For example if you have:
import gtk.Application : Application;
import gtk.ApplicationWindow : GAW = ApplicationWindow;
import gtk.Nested.This: Symbol;
import gtk.Nested.That;
import gtk.Entry;
With nested imports you would just write something like:
import gtk(
Application: Application,
ApplicationWindow: GAW = ApplicationWindow,
Nested(
This : Symbol,
That
),
Entry,
);
It would reduce some typing.
More information about the Digitalmars-d
mailing list