Documentation unclear about Unions and type parameters #13702
Labels
docs
This change adds or pertains to documentation
types and dispatch
Types, subtyping and method dispatch
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.)
The text was updated successfully, but these errors were encountered: