Skip to content

[Merged by Bors] - refactor(*): Protect Function.Commute#6456

Closed
tb65536 wants to merge 8 commits intomasterfrom
protect
Closed

[Merged by Bors] - refactor(*): Protect Function.Commute#6456
tb65536 wants to merge 8 commits intomasterfrom
protect

Conversation

@tb65536
Copy link
Copy Markdown
Contributor

@tb65536 tb65536 commented Aug 8, 2023

This PR protects Function.Commute, so that it no longer clashes with Commute in the root namespace, as suggested by @j-loreaux in #6290.


Open in Gitpod

@tb65536 tb65536 added the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Aug 8, 2023
@github-actions github-actions bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Aug 9, 2023
@j-loreaux
Copy link
Copy Markdown
Contributor

Oof, this is a much worse diff than I expected. I thought that Lean would have trouble figuring out it needed Function.Commute instead of _root_.Commute everywhere, but apparently not? Asked on Zulip

@eric-wieser
Copy link
Copy Markdown
Member

Would the diff be better if we used open Function (Commute) in the very function-y files?

@eric-wieser
Copy link
Copy Markdown
Member

To justify this change, are there any existing _root_.Commutes that can now be simplified to Commute, and if so can you include them in the PR? Otherwise it's not clear what's being gained here.

@eric-wieser eric-wieser requested a review from j-loreaux August 14, 2023 11:08
@j-loreaux
Copy link
Copy Markdown
Contributor

Thanks both!

bors r+

bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
@bors
Copy link
Copy Markdown

bors bot commented Aug 14, 2023

This PR was included in a batch that was canceled, it will be automatically retried

bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
@bors
Copy link
Copy Markdown

bors bot commented Aug 14, 2023

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Aug 14, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
@bors
Copy link
Copy Markdown

bors bot commented Aug 14, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title refactor(*): Protect Function.Commute [Merged by Bors] - refactor(*): Protect Function.Commute Aug 14, 2023
@bors bors bot closed this Aug 14, 2023
@bors bors bot deleted the protect branch August 14, 2023 20:58
kim-em pushed a commit that referenced this pull request Aug 15, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
kim-em pushed a commit that referenced this pull request Aug 15, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
kim-em pushed a commit that referenced this pull request Aug 15, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
kim-em pushed a commit that referenced this pull request Aug 17, 2023
This PR protects `Function.Commute`, so that it no longer clashes with `Commute` in the root namespace, as suggested by @j-loreaux in #6290.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants