-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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/base] add a type tree for Number
#45975
Conversation
JuliaLang#24741 Generated using the following code with manual modifications ```jl using AbstractTrees AbstractTrees.children(x::Type) = subtypes(x) print_tree(Number) ```
Can you add a blurb before the tree that describes what it shows? Does it make sense to also add an indication which ones are abstract types since the |
Any more comments? |
doc/src/base/numbers.md
Outdated
@@ -2,6 +2,37 @@ | |||
|
|||
## Standard Numeric Types | |||
|
|||
A type tree for all subtypes of `Number`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this "for included number types`"
Should we mark which types are primitive or struct types? Marking primitives seems noisy. Perhaps we should just mark struct types and indicate the rest are primitive types? The struct types according to
|
ref: #24741
Generated using the following code with manual modifications
AbstractIrrational
to the endpreview