You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Option{T} seems to be already covered by normal Union, Some, Nothing conversions, no need to provide them
37
36
@@ -51,6 +50,5 @@ end
51
50
issomething(m::Nothing) =false
52
51
issomething(m::Identity) =true
53
52
54
-
# Base.eltype is not well defined for Some, and always returns Any
55
-
Base.eltype(::Type{<:Option{T}}) where {T} = T
56
-
Base.eltype(::Type{Nothing}) = Any # if we don't provide this clause, we get ERROR: UndefVarError: T not defined, as the above clause matches, but no T can be infered from Nothing
0 commit comments