Trait to get public imported symbols

2023-11-13 Thread Arafel via Digitalmars-d-learn
Hi all, I'm trying to write a meta-tool that walks through all the declared symbols of a module. The problem I'm facing is that `__trait(allMembers, module)` works with the symbols declared by the module itself, but it doesn't include public imports. I understand that these are not symbols

Re: How do I install a package globally?

2023-11-13 Thread Christian Köstlin via Digitalmars-d-learn
On Saturday, 11 November 2023 at 23:28:18 UTC, Trevor wrote: On Saturday, 11 November 2023 at 07:12:21 UTC, Christian Köstlin wrote: On Saturday, 11 November 2023 at 01:50:54 UTC, Trevor wrote: I'm just getting in to D , coming from a C and Python background. I've had a play with DUB and adding