DIP10005: Dependency-Carrying Declarations is now available for community feedback

Chris M via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 14 16:29:17 PST 2016


On Wednesday, 14 December 2016 at 22:55:26 UTC, Andrei 
Alexandrescu wrote:
> Made a pass through the document integrating a lot of feedback 
> and fleshing the proposal better:
>
> https://github.com/andralex/DIPs/blob/155ff59984b26749af7830aeb172d3af2dae8cd7/DIPs/DIP1005.md
>
> https://github.com/dlang/DIPs/pull/51/files
>
>
> Andrei

For the "with" keyword, why is the import statement kept? Seems 
unnecessary to keep it.

void process(File input) import std.stdio;
struct Buffered(Range) if (isInputRange!Range)
with (std.range)
{
     ...
}


More information about the Digitalmars-d mailing list