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
[Merged by Bors] - fix(*): fix padding around notations #16333
Conversation
@@ -63,7 +63,7 @@ open_locale classical big_operators | |||
linear_ordered_semiring, ordered_comm_semiring, canonically_ordered_comm_semiring, | |||
has_sub, has_ordered_sub, has_div, inhabited]] | |||
def nnreal := {r : ℝ // 0 ≤ r} | |||
localized "notation (name := nnreal) ` ℝ≥0 ` := nnreal" in nnreal | |||
localized "notation (name := nnreal) `ℝ≥0` := nnreal" in nnreal |
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.
What does (name := nnreal)
mean? It is used here but not in nnrat
notation.
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.
Otherwise LGTM. Thanks!
bors d+
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.
Localized notations require names now, see #16252. It looks like nnrat
got merged around the same time and missed the memo.
✌️ digama0 can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
I noticed a bunch of issues around padding in mathport, so I went through and fixed all the padding issues I could find in mathlib. Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Pull request successfully merged into master. Build succeeded: |
I noticed a bunch of issues around padding in mathport, so I went through and fixed all the padding issues I could find in mathlib. Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
I noticed a bunch of issues around padding in mathport, so I went through and fixed all the padding issues I could find in mathlib. Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
I noticed a bunch of issues around padding in mathport, so I went through and fixed all the padding issues I could find in mathlib.