When I'm searching for "toUpper" and "toLower" functions that string type uses, I confused when I reached the module "std.string". In the first section of its page "https://dlang.org/phobos/std_string.html" I didn't found functions I'm searching for, but when I pressed ctrl+f and typed function names, I found 'em in another section of the page, but I didn't understand if I have to add something to module name "std.string" or not, and I don't know how modules divided nor its sections way in D. I hope someone clarifies this obscure point to me and how can I search correctly for sought functions.
Thread overview | ||||||
---|---|---|---|---|---|---|
|
November 13, 2021 Re: D modules | ||||
---|---|---|---|---|
| ||||
Posted in reply to pascal111 | On Saturday, 13 November 2021 at 22:52:55 UTC, pascal111 wrote: >When I'm searching for "toUpper" and "toLower" functions that string type uses, I confused when I reached the module "std.string". In the first section of its page "https://dlang.org/phobos/std_string.html" I didn't found functions I'm searching for, but when I pressed ctrl+f and typed function names, I found 'em in another section of the page, but I didn't understand if I have to add something to module name "std.string" or not, and I don't know how modules divided nor its sections way in D. I hope someone clarifies this obscure point to me and how can I search correctly for sought functions. They are publicly imported from std.uni |
November 14, 2021 Re: D modules | ||||
---|---|---|---|---|
| ||||
Posted in reply to pascal111 | On Saturday, 13 November 2021 at 22:52:55 UTC, pascal111 wrote: >When I'm searching for "toUpper" and "toLower" functions that string type uses, I confused when I reached the module "std.string". In the first section of its page "https://dlang.org/phobos/std_string.html" I didn't found functions I'm searching for, but when I pressed ctrl+f and typed function names, I found 'em in another section of the page, but I didn't understand if I have to add something to module name "std.string" or not, and I don't know how modules divided nor its sections way in D. I hope someone clarifies this obscure point to me and how can I search correctly for sought functions. Those functions used to be in The following functions are publicly imported: This means if you are already importing https://dlang.org/phobos/std_uni.html#.toLower |
November 14, 2021 Re: D modules | ||||
---|---|---|---|---|
| ||||
Posted in reply to pascal111 | On Saturday, 13 November 2021 at 22:52:55 UTC, pascal111 wrote: >When I'm searching for "toUpper" and "toLower" functions that string type uses They are usable though The newest test version of my doc generator does integrate them into the member list though: http://dpldocs.info/experimental-docs/std.string.html My dpldocs.info website has a search engine too to help find the original place: dpldocs.info/toLower for example will point you at std.uni first. But if it is "public imported" into a member list of another module you can use it just importing either way. |