Skip to content
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

Documentation unclear about Unions and type parameters #13702

Closed
afniedermayer opened this issue Oct 21, 2015 · 2 comments
Closed

Documentation unclear about Unions and type parameters #13702

afniedermayer opened this issue Oct 21, 2015 · 2 comments
Labels
docs This change adds or pertains to documentation types and dispatch Types, subtyping and method dispatch

Comments

@afniedermayer
Copy link
Contributor

The combination of Unions and type parameters seems to cause confusion repeatedly, see https://groups.google.com/forum/#!topic/julia-users/TNebYrm2A8Q for the most recent discussion. Ideally, #3738 would be resolved, but for the time being it would be helpful if the documentation clarified the current situation with Unions and type parameters.

(The sentence that comes to my mind for the documentation at http://docs.julialang.org/en/release-0.4/manual/types/#type-unions is "The combination of Unions and type parameters is really confusing and should best be avoided." But I'm sure something more meaningful than that could be said.)

@kshyatt kshyatt added the docs This change adds or pertains to documentation label Oct 21, 2015
@kshyatt kshyatt added the types and dispatch Types, subtyping and method dispatch label Nov 25, 2015
@kshyatt
Copy link
Contributor

kshyatt commented Nov 25, 2015

Since this is apparently pretty confusing to users (it's confusing to me too), have the docs been updated? If not, does someone want to take a crack at it?

@vtjnash
Copy link
Member

vtjnash commented Mar 29, 2022

This should be mostly fixed now, and not just as a doc change.

@vtjnash vtjnash closed this as completed Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

No branches or pull requests

3 participants