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.
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.
Try
using Base.Iterators
Ah I see I was using the deprecated Iterators.jl
. Thanks!