July 27, 2012 Re: Can you do this in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Nadlinger | On 7/26/2012 11:59 PM, David Nadlinger wrote:
> On Thursday, 26 July 2012 at 23:57:32 UTC, Walter Bright wrote:
>> On 7/26/2012 12:44 PM, Araq wrote:
>>> He explicitely asked about other programming languages...
>>
>> Araq, you are welcome here.
>
> Yes, of course. If anything, I'd wish there was _more_ interaction between PL
> communities, not less. My post was just an attempt at a little humor – I hoped
> this was clear from the, uhm, style.
No problem, I just wanted to make sure there was no misunderstanding.
|
July 30, 2012 Re: Can you do this in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | > What happened to __traits(allMembers, module_name)? It doesn't list
> the contents of the current scope, but instead that of a module
> (including the current one).
that could have saved me too ... now i tried getting it working, but to no avail. i mean, __traits(allMembers, X) works for class X fine, but fails on modules. using dmd 2.059 for win and some 2.060-ish phobos from some weeks ago.
could anyone provide a working code example pls?
cheers,
det
|
July 31, 2012 Re: Can you do this in D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to captaindet | On 2012-07-30 00:11, captaindet wrote:
>> What happened to __traits(allMembers, module_name)? It doesn't list
>> the contents of the current scope, but instead that of a module
>> (including the current one).
>
>
> that could have saved me too ... now i tried getting it working, but to no avail. i mean, __traits(allMembers, X) works for class X fine, but fails on modules. using dmd 2.059 for win and some 2.060-ish phobos from some weeks ago.
>
> could anyone provide a working code example pls?
>
> cheers,
>
> det
my bad, figured it out
|
Copyright © 1999-2021 by the D Language Foundation