Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Add split function #26

Open
badly-drawn-wizards opened this issue Feb 3, 2015 · 1 comment
Open

Add split function #26

badly-drawn-wizards opened this issue Feb 3, 2015 · 1 comment

Comments

@badly-drawn-wizards
Copy link

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
Copy link
Contributor

This has been sitting for a little while... I'll have a look at it.

@matthewleon matthewleon mentioned this issue May 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants