-
Notifications
You must be signed in to change notification settings - Fork 717
feat: extensional tree maps #8721
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
Conversation
|
Mathlib CI status (docs):
|
|
Could we have a constructor |
In #8004 (comment) we decided to do all of the "connect the map variants" functions at a later date with a structured plan instead of doing one of them ad-hoc now, so it is expected that this is not part of this PR. |
TwoFX
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work as always, thanks!
This PR adds the types
Std.ExtDTreeMap,Std.ExtTreeMapandStd.ExtTreeSetof extensional tree maps and sets. These are very similar in construction to the existing extensional hash maps with one exception: extensional tree maps and sets provide all functions from regular tree maps and sets. This is possible because in contrast to hash maps, tree maps are always ordered.