Skip to content
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(algebra/ring/basic): delete mul_self_sub_mul_self_eq #4119

Closed
wants to merge 4 commits into from

Conversation

bryangingechen
Copy link
Collaborator

@bryangingechen bryangingechen commented Sep 12, 2020

It's redundant with mul_self_sub_mul_self.

Also renamed mul_self_sub_one_eq to mul_self_sub_one.


Zulip thread.

It's redundant with `mul_self_sub_mul_self`.
@bryangingechen bryangingechen added easy < 20s of review time. See the lifecycle page for guidelines. awaiting-review The author would like community review of the PR labels Sep 12, 2020
@bryangingechen
Copy link
Collaborator Author

Oh, I just realized that the names are inconsistent when it comes to whether they should end in eq:

We have:

  • mul_self_sub_one_eq
  • nat.mul_self_sub_mul_self_eq

We also have:

  • pow_two_sub_pow_two

And this PR keeps mul_self_sub_mul_self.

My (slight) preference is to remove the eqs from all these.

@jcommelin
Copy link
Member

I agree that we can drop those _eq suffixes. Do you want to do that in this PR?

@semorrison semorrison added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Sep 12, 2020
@semorrison
Copy link
Collaborator

I'll leave it to you to merge after deciding what to do with the names.

bors d+

@bors
Copy link

bors bot commented Sep 12, 2020

✌️ bryangingechen can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@semorrison semorrison added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-author A reviewer has asked the author a question or requested changes easy < 20s of review time. See the lifecycle page for guidelines. labels Sep 12, 2020
@bryangingechen
Copy link
Collaborator Author

I agree that we can drop those _eq suffixes. Do you want to do that in this PR?

Ha, I just realized that nat.mul_self_sub_mul_self_eq is defined in core so I unfortunately can't change the name here. I did change mul_self_sub_one_eq to mul_self_sub_one though.

bors r+

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Sep 12, 2020
bors bot pushed a commit that referenced this pull request Sep 12, 2020
It's redundant with `mul_self_sub_mul_self`.

Also renamed `mul_self_sub_one_eq` to `mul_self_sub_one`.
@bors
Copy link

bors bot commented Sep 12, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title fix(algebra/ring/basic): delete mul_self_sub_mul_self_eq [Merged by Bors] - fix(algebra/ring/basic): delete mul_self_sub_mul_self_eq Sep 12, 2020
@bors bors bot closed this Sep 12, 2020
@bors bors bot deleted the bryangingechen-patch-2 branch September 12, 2020 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants