On Tue, Feb 15, 2022 at 06:37:44PM +0000, meta via Digitalmars-d-learn wrote:
> A trick i use often:
> 
> ```D
> import std;
> 
> void main()
> {
>     import uni =  std.uni;
>     writeln("Learning D is fun".split!(uni.isWhite));
> }
> 
> ```
> 
> Under-rated way of importing things, you don't bloat your scope
> anymore

+1, noice!  I should use this more often.


T

-- 
Truth, Sir, is a cow which will give [skeptics] no more milk, and so they are 
gone to milk the bull. -- Sam. Johnson

Reply via email to