Stream: helpdesk (published)

Topic: ✔ list of stdlibs


view this post on Zulip Sascha Mann (Oct 02 2022 at 11:46):

Is there a safe way to programmatically get a list of all standard libraries?

view this post on Zulip Gunnar Farnebäck (Oct 02 2022 at 12:20):

If safe means future proof and independent of internals I don't know. Otherwise I would reach for Pkg.Types.stdlibs().

view this post on Zulip Sascha Mann (Oct 02 2022 at 12:25):

Safe meant I don't want to scrape the stdlib dir or something hacky like that :sweat_smile:

view this post on Zulip Sascha Mann (Oct 02 2022 at 12:25):

That works, thanks!

view this post on Zulip Notification Bot (Oct 02 2022 at 12:25):

Sascha Mann has marked this topic as resolved.

view this post on Zulip Mosè Giordano (Oct 02 2022 at 14:59):

That's an interesting coincidence: https://discourse.julialang.org/t/canonical-way-to-get-a-list-of-all-stdibs/88115

view this post on Zulip Sascha Mann (Oct 03 2022 at 09:13):

I only found an ancient thread that didn't have an answer, maybe that wasn't indexed by search engines yet :D


Last updated: Nov 22 2024 at 04:41 UTC