Newbie in julia, got quite confused.
Here is an array:
array=["a","b",1]
I define a dictionary
dict=Dict()
dict["a","b"]=1
I want to use 'array' to define the dict
dict2 = Dict()
dict2[array[1:2]]=1
but they are not the same,
julia> dict
Dict{Any,Any} with 1 entry:
("a","b") => 1
julia> dict2
Dict{Any,Any} with 1 entry:
Any["a","b"] => 1
How can I use 'array' to generate 'dict' instead of 'dict2'? Thanks