Closed
Description
This seems surprising:
julia> get([1,2,3], 4, 5)
5
julia> get((1,2,3), 4, 5)
ERROR: MethodError: no method matching get(::Tuple{Int64, Int64, Int64}, ::Int64, ::Int64)
julia> get((a=1,b=2,c=3), :d, 5)
5
julia> get((a=1,b=2,c=3), 4, 5)
5
Activity