module search paths

Ali Çehreli acehreli at yahoo.com
Wed Aug 4 05:01:59 UTC 2021


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



More information about the Digitalmars-d-learn mailing list