[Merged by Bors] - refactor(*): use option.map₂#18081
Conversation
YaelDillies
left a comment
There was a problem hiding this comment.
Nice PR! I had seen some of those definitions and thought it would be an improvement to use data.option.n_ary, so I approve!
…athlib into YK-opt-map2
eric-wieser
left a comment
There was a problem hiding this comment.
bors d+
I added a handful more id $s, and moved the explanation of their purpose to the module docstring.
Can you make sure you forward port these if appropriate?
|
✌️ urkud can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Thanks! bors merge I don't think that we need this in Mathlib 4 because we don't (and can't) use the "make it irreducible later" trick with Lean 4. |
Relevant parts are forward-ported as leanprover-community/mathlib4#1439 Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
YaelDillies
left a comment
There was a problem hiding this comment.
Sorry, last minute typo!
|
Canceled. |
|
bors merge |
Relevant parts are forward-ported as leanprover-community/mathlib4#1439 Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
|
Build failed (retrying...): |
Relevant parts are forward-ported as leanprover-community/mathlib4#1439 Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
|
Build failed (retrying...): |
Relevant parts are forward-ported as leanprover-community/mathlib4#1439 Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
|
Build failed (retrying...): |
Relevant parts are forward-ported as leanprover-community/mathlib4#1439 Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
|
Build failed (retrying...): |
Relevant parts are forward-ported as leanprover-community/mathlib4#1439 Co-authored-by: Eric Wieser <wieser.eric@gmail.com> Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
|
Pull request successfully merged into master. Build succeeded: |
option.map₂option.map₂
This is a forward-port of leanprover-community/mathlib3#18081
Relevant parts are forward-ported as leanprover-community/mathlib4#1439