www.digitalmars.com         C & C++   DMDScript  

D - import suggestion

can we go the way oberon does it:
IMPORT D   := VODisplay;

so we could have:

	private import ledsM = import leds.leds;

[import ledsM =] would be optional, of course.

seams cleaner then

	private import leds.leds;
	alias leds.leds ledsM;

The proposed version would also have the benefit of
leds.leds not being valid anymore after the import
statment.

Ant
Dec 01 2003