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

Rename Slices to SliceCategories to avoid name conflict #883

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

KevinDCarlson
Copy link
Contributor

Julia complains all the time now about Catlab and Base both exporting the word Slices. Can we just change the name? This would be a breaking change, not sure whether there's a better approach but I think leaving it as is isn't a serious option in that the attempted export wouldn't actually work if you tried to use Slices unqualified.

@epatters
Copy link
Member

Yes, we should change the name. I would suggest renaming the module to SliceCategories.

I'm not sure why this PR deletes the modules.

@KevinDCarlson
Copy link
Contributor Author

I think I just didn't add the renamed files on the first commit?

@epatters epatters changed the title Don't export "Slices" Rename Slices to SliceCategories to avoid name conflict Jan 23, 2024
@epatters
Copy link
Member

Thanks! Can you please rebase and force-push so we get a clean commit?

@KevinDCarlson
Copy link
Contributor Author

Yep, done.

Copy link
Member

@epatters epatters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks Kevin!

@epatters epatters merged commit 07e30a9 into main Jan 23, 2024
10 checks passed
@epatters epatters deleted the dontExportSlices branch January 23, 2024 23:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants