-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding a range
function for Sets and Maps
#167
Comments
Hi, I think using As for adding a If you are interested in this, please follow https://wiki.haskell.org/Library_submissions#Guide_to_proposers and start the discussion at [email protected]. Cheers, |
Since there hasn't been any activity here for such a long time, and since the desired function seems fairly easy to implement with Please do reopen this issue if there's more to do here! |
Actually |
#803 is related. |
Maybe it's my ignorance, but currently I don't know if there's an succinct way to extract a range of elements from a set (in O(Log n) time). I know I can use
split
to achieve the effect:But since this is a very common operation, can you add this function to the library? (For both
Set
andMap
)The text was updated successfully, but these errors were encountered: