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

docs: triangular dispatch #46709

Open
nsajko opened this issue Sep 12, 2022 · 0 comments
Open

docs: triangular dispatch #46709

nsajko opened this issue Sep 12, 2022 · 0 comments
Labels
docs This change adds or pertains to documentation

Comments

@nsajko
Copy link
Contributor

nsajko commented Sep 12, 2022

This section in the manual refers to "so-called triangular dispatch": https://docs.julialang.org/en/v1.9-dev/manual/methods/#Extracting-the-type-parameter-from-a-super-type

However, the term is not explained, or used anywhere else in the docs.

From the below links I gather that the term is mainly of historical significance, and the mention should perhaps be removed from the docs to avoid unnecessary confusion. Alternatively, I guess there should be an explanation of what "triangular dispatch" means.

https://stackoverflow.com/questions/30746405/can-i-use-a-subtype-of-a-function-parameter-in-the-function-definition

https://discourse.julialang.org/t/what-is-the-triangle-in-triangular-dispatch/18817

#3766

@ViralBShah ViralBShah added the docs This change adds or pertains to documentation label Sep 12, 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
Projects
None yet
Development

No branches or pull requests

2 participants