Open jariji opened 1 year ago
julia> fill(42, dict) 3-element Dictionary{String,Int64} "a" │ 42 "b" │ 42 "c" │ 42 julia> zeros(dict) 3-element Dictionary{String,Float64} "a" │ 0.0 "b" │ 0.0 "c" │ 0.0
Does this correspond to the API of these functions in Base? I don't quite see the intent here.
julia> zeros([1,2,3]) ERROR: MethodError: no method matching zeros(::Vector{Int64}) julia> fill(9, [1,2,3]) ERROR: MethodError: no method matching fill(::Int64, ::Vector{Int64})
Does this correspond to the API of these functions in Base? I don't quite see the intent here.