Extend the SplittablesBase interface to OrderedCollections
This is a lightweight package that adds method definitions for
amount and halve to OrderedDict, OrderedSet, LittleDict.
There is also a method for BitSet from Julia Base.
Add the package with:
] add https://github.com/April-Hannah-Lena/SplitOrderedCollections.jl.gitUse the package with:
using OrderedCollections
using SplittablesBase
using SplitOrderedCollectionsThe package conforms with the SplittablesBase Interface. In particular,
the methods defined here return the same type as amount and halve for
regular Dict and Set so that code can be general without type instabilities.