DIP10005: Dependency-Carrying Declarations is now available for community feedback
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Wed Dec 14 16:47:41 PST 2016
On 12/14/16 6:11 PM, H. S. Teoh via Digitalmars-d wrote:
> On Wed, Dec 14, 2016 at 04:08:56PM -0500, Andrei Alexandrescu via Digitalmars-d wrote:
>> On 12/14/2016 03:33 PM, H. S. Teoh via Digitalmars-d wrote:
>>> That's easy to fix:
>>>
>>> import { a : b, c; d: e, f; }
>>
>> The cost being adding new syntax. -- Andrei
>
> Aren't we already adding new syntax?
That's not a Boolean. One may be adding a little or a lot.
> On thinking about this again, though, isn't the whole point of this DIP
> to add a way of attaching imports X, Y, Z to some declaration such that
> the imports are in effect for the scope of the declaration?
That is correct.
> The
> specific syntax is really secondary.
That is also correct, and thanks for bringing it up; discussion of
syntax eclipse other aspects. I'll make a pass to integrate your points.
Andrei
More information about the Digitalmars-d
mailing list