-
-
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
add Iterators.countfrom(::Any, ::Any) #37747
Conversation
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.
Gotta love ordinal types :)
@JeffBezanson can this be added for 1.6 ? |
Bump? |
Needs a NEWS item? |
sorry for the delay, I added a NEWS entry |
|
||
eltype(::Type{Count{S}}) where {S} = S | ||
|
||
eltype(::Type{Count{T,S}}) where {T,S} = T |
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.
eltype(::Type{Count{T,S}}) where {T,S} = T | |
eltype(::Type{<:Count{T}}) where {T} = T |
This reverts commit 7f26a7f.
I accidentally just merged this. Does it need to be reverted @vtjnash? |
Fixes review item #37747 (comment)
Fixes review item #37747 (comment)
closes #37462