Funny you should ask:

https://github.com/JuliaLang/julia/issues/5794

On Saturday, February 15, 2014 8:47:05 AM UTC-6, Edward Cessna wrote:
>
> I'm coming up to speed on Julia and ran into something unexpected: 
>
> julia> typeof(map(identity, [1=>"a", 2=>"b", 3=>"c"]))
> Array{Any,1}
>
>
> Applying map to a dictionary resulted in an array and not a dictionary. Is 
> there a way to have map return a dictionary when applied to a dictionary? 
> If not, is there a more suitable mapping function? I looked for something 
> like maphash but couldn't find it.
>

Reply via email to