-
-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how public API is defined (depends on scoped export) #3511
Conversation
In general I think things like this are better off in the Julia manual. In some sense, Pkg is "just" a package manager and someone could in theory write another better one. And we should IMO then try to keep the documentation to package management and less about general julia package information. I realize that things are pretty muddy now (for example the extension documentation is in Pkg, which it probably shouldn't be), but I think it is something to strive for. |
Co-authored-by: Eric Hanson <5846501+ericphanson@users.noreply.github.com>
Agree @KristofferC that this stuff would be better in the Julia manual. The issue as I see it, is that the manual has no place for tutorial-style docs. So how about we just merge this here for now alongside the extensions stuff? Because it's strictly better to have this documented somewhere rather than sitting in a stale PR :) |
I mean, we don't even have |
I think "merge this here for now" means at the same time as the public keyword merges in Base |
This PR is an extension of JuliaLang/julia#50105 and should be merged or closed simultaneously.
The key sentence is
And the reason this definition is viable is that scoped exports allow you to export symbols without the namespace implications.