Add split function
Opened this issue · 1 comments
badly-drawn-wizards commented
The containers package in Haskell has the following function
split :: Ord k => k -> Map k a -> (Map k a, Map k a)
where the left map contains entries strictly less than the given key and the right map contains entries strictly greater than the given key.
matthewleon commented
This has been sitting for a little while... I'll have a look at it.