The future of UDAs.

Max Samukha maxsamukha at gmail.com
Wed Nov 28 16:10:52 PST 2012


On Wednesday, 28 November 2012 at 23:41:37 UTC, Timon Gehr wrote:
> On 11/28/2012 11:46 PM, Walter Bright wrote:
>> On 11/29/2012 3:23 AM, Max Samukha wrote:
>>> That is a problem for anyone who builds a library for general 
>>> use.
>>
>> I don't see how any library for general use would be importing 
>> user
>> modules, so there shouldn't be a circular import dependency 
>> between user
>> modules and library modules.
>>
>
>
> // ---
>
> module a;
> import b;
> import lib;
>
> mixin Lib;
>
> // ---
>
> module b;
> import a;
> import lib;
>
> mixin Lib;
>
> // ---

Didn't see your post, sorry.


More information about the Digitalmars-d mailing list