-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Labels
speculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative
Milestone
Description
While re-reading the manual I realized that isleaftype
should probably be renamed to either isconcretetype
or isconcrete
:
julia> abstract Foo
julia> abstract Bar <: Foo
julia> type Baz <: Foo
end
julia> isleaftype(Bar) # One could consider Bar a leaf type but not concrete
false
julia> isleaftype(Baz)
true
The documentation for isleaftype
does clearly explain it returns true for concrete types which seems like the function name is slightly misleading.
nalimilan and spurll
Metadata
Metadata
Assignees
Labels
speculativeWhether the change will be implemented is speculativeWhether the change will be implemented is speculative