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

Iakh via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 14 05:56:59 PST 2016


On Tuesday, 13 December 2016 at 22:33:24 UTC, Andrei Alexandrescu 
wrote:
> Destroy.
>
> https://github.com/dlang/DIPs/pull/51/files
>
>
> Andrei

How about something like Haskells "where" to allow any set of 
pre-declaration just for one declaration:

with
{
import ...;
alias Result = ...;
}
Result func(blah) {...}


More information about the Digitalmars-d mailing list