You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia> d =Dict(:a=>"abc", :b=>"def")
Dict{Symbol,String} with 2 entries::a=>"abc":b=>"def"
julia> a = ["abc", "def"]
2-element Array{String,1}:"abc""def"
julia>second(p) = p.second
second (generic function with 1 method)
julia>collect((second(p) for p in d))
2-element Array{String,1}:"abc""def"
julia>collect((p->p.second for p in d))
2-element Array{##2#4,1}:#2#2
julia>collect((first(x) for x in a))
2-element Array{Char,1}:'a''d'
julia>collect((x->x[1] for x in a))
2-element Array{##6#8,1}:#6#6
If this is the same as #15276, feel free to close.
The text was updated successfully, but these errors were encountered:
First noticed in #17968 (comment).
If this is the same as #15276, feel free to close.
The text was updated successfully, but these errors were encountered: