DataStructures.jl
DataStructures.jl copied to clipboard
SortedDict missing mergewith
SortedDict currently does not implement the Base functions mergewith
and mergewith!
. So mergewith
of two SortedDicts treats them both as AbstractDict and returns a Dict instead of a SortedDict.
Additional missing methods from Base
.
-
map!(f, values(s::SortedDict))
-
first(a,n)
andlast(a,n)
where a is a sorted container and n is an integer. -
filter
for SortedDict and SortedMultiDict - 'pairs' for SortedDict and SortedMultiDict