Any idea why OrderedSet indexing is deprecated? If I follow the recommendation then I would have to keep a counter and iterate until I find the ith item?
julia> using DataStructures
julia> os = OrderedSet([2,3,1,4,7,6])
OrderedSet{Int64}([2, 3, 1, 4, 7, 6])
julia> os[2]
┌ Warning: indexing is deprecated for OrderedSet, please rewrite your code to use iteration
│ caller = top-level scope at none:0
└ @ Core none:0
3