-
Notifications
You must be signed in to change notification settings - Fork 135
feat: Extend the API of findIdxs and idxsOf
#1500
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
feat: Extend the API of findIdxs and idxsOf
#1500
Conversation
|
Mathlib CI status (docs):
|
d62488a to
ecfd677
Compare
I think this would be best split to a separate PR. |
ecfd677 to
192543a
Compare
|
Agreed re: separate PR. I am currently working on splitting this one out. See #1506 which focuses on the name change. |
192543a to
d62488a
Compare
|
Please ignore my force pushes above - I was trying to rebase onto #1506 and I think something badly messed up. |
|
It's possible we should change the |
findIdxs and idxsOf and add enumeration functions.findIdxs and idxsOf
fgdorais
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.
Please update the docstrings with examples and document the use of start.
After [batteries#1500](leanprover-community/batteries#1500) is merged: - [x] Edit the lakefile to point to leanprover-community/batteries:main - [x] Run lake update batteries - [x] Merge leanprover-community/mathlib4:master - [ ] Wait for CI and merge Co-authored-by: leanprover-community-mathlib4-bot <[email protected]> Co-authored-by: Wrenna Robson <[email protected]> Co-authored-by: F. G. Dorais <[email protected]>
This PR improves the API for
List.indexesOfandList.findIdxs.This depends on #1506. This is depended on by #1507