-
Notifications
You must be signed in to change notification settings - Fork 422
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
Re-export from LinearAlgebra and FillArrays #1368
base: master
Are you sure you want to change the base?
Conversation
I am a bit unsure about this PR. I agree that it might be more convenient since one can skip an |
Yeah that's a fair point 👍 One argument for exporting is that Distributions.jl has become a package that a lot users will interact with for the first time, and so making it completely trivial to use without any "surprises", e.g. examples not being completely "self-contained" in the sense that external dependencies are explicitly required, might be worth it. But I leave this up to you all:) |
I think we should not do it, it feels like working against the grain of Julia, after all
seems to be a hurdle which has to be overcome in any case if someone wants to use Julia. But let's make sure the docs are helpful. |
I will add a slight comment (which you can feel free to ignore) -- I personally had exactly this problem when working with Distributions.jl a couple months ago as a beginner in Julia (I didn't realize |
I think we should qualify all functions, structs etc. from other packages in the docs, e.g., we should write |
Sounds good 👍 |
I like that idea. |
Deprecations introduced in #1362 suggest alternatives that use the following:
LinearAlgebra.Diagonal
LinearAlgebra.I
FillArrays.Fill
It seems like these should then also be re-exported, in particular since Distributions.jl is a package that is often used by Julia beginners who might not be aware of where the above can be found.