Can anybody please explain why in the following snippet hasmethod
returns false? Thanks
julia> hasmethod(parse, Tuple{Int,String})
false
julia> parse(Int, "200")
200
Can anybody please explain why in the following snippet hasmethod
returns false? Thanks
julia> hasmethod(parse, Tuple{Int,String})
false
julia> parse(Int, "200")
200
The first input to parse
isn’t an Int
but a Type{Int}
.