module search paths

Brian Tiffin btiffin at gnu.org
Wed Aug 4 07:08:05 UTC 2021


On Wednesday, 4 August 2021 at 05:01:59 UTC, Ali Çehreli wrote:
> On 8/3/21 9:51 PM, Brian Tiffin wrote:
>
> > I added an `import std.json;`.  That did not include the
> > JSONType enum.
>
> It works for me:
>
> import std.json;
>
> int main() {
>   return JSONType.null_;
> }
>
> > Is there a go to quick and easy way of tracking down
> > module members?
>
> Searching for it at dlang.org usually works pretty well. 
> Although, I hear that Adam's Phobos documentation site is 
> better. (I don't use it just because I don't have a habit of it 
> yet.)
>
> Finally, I sometimes grep under /usr/include/dmd. Ultimate 
> truth! :)
>
> Ali

Cool, thanks, Ali.  I'll track through some source.  I may have 
blended some local files, (I did quite a few `dmd` installs 
during a flailing phase).

Have good.


More information about the Digitalmars-d-learn mailing list