How to filter keys of a dictionary without depwarn?


#1

How to filter keys of a dictionary without depwarn?

julia> using Iterators; Iterators.filter(iseven, keys(Dict()))
WARNING: filter(flt, itr) is deprecated, use Iterators.filter(flt, itr) instead.

#2

Try

using Base.Iterators


#3

Ah I see I was using the deprecated Iterators.jl. Thanks!